fix wallpaper

This commit is contained in:
Noah Masur 2022-05-14 22:38:26 -04:00
parent 14ab11e526
commit 9be5b17988
3 changed files with 7 additions and 18 deletions

View File

@ -32,7 +32,7 @@
mailServer = "noahmasur.com"; mailServer = "noahmasur.com";
gui = { gui = {
colorscheme = (import ./modules/colorscheme/gruvbox); colorscheme = (import ./modules/colorscheme/gruvbox);
wallpaper = ../../../downloads/nix.jpg; wallpaper = ./media/wallpaper/road.jpg;
gtk.theme = { name = "Adwaita-dark"; }; gtk.theme = { name = "Adwaita-dark"; };
}; };
}; };

BIN
media/wallpaper/road.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

View File

@ -2,8 +2,7 @@
let let
lockCmd = lockCmd = ''exec i3lock --nofork --color "${config.gui.colorscheme.base00}"'';
''exec i3lock --no-fork --color "${config.gui.colorscheme.base00}"'';
in { in {
@ -123,7 +122,6 @@ in {
"${modifier}+Shift+q" = '' "${modifier}+Shift+q" = ''
exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"''; exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"'';
"${modifier}+Shift+x" = lockCmd; "${modifier}+Shift+x" = lockCmd;
"${modifier}+Shift+t" = "exec alacritty";
# Window options # Window options
"${modifier}+q" = "kill"; "${modifier}+q" = "kill";
@ -202,20 +200,11 @@ in {
"${modifier}+Control+Shift+l" = "resize grow width 10 px or 10 ppt"; "${modifier}+Control+Shift+l" = "resize grow width 10 px or 10 ppt";
}; };
modes = { }; modes = { };
startup = [ startup = [{
{ command = "feh --bg-fill ${config.gui.wallpaper}";
command = "feh --bg-fill ${builtins.toString config.gui.wallpaper}";
always = true; always = true;
notification = false; notification = false;
} }];
{
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
command = "xss-lock --transfer-sleep-lock -- i3lock --nofork";
always = false;
notification = false;
}
];
window = { window = {
border = 0; border = 0;
hideEdgeBorders = "smart"; hideEdgeBorders = "smart";