diff --git a/programs/desktop/default.nix b/programs/desktop/default.nix index c641696..6d48c88 100644 --- a/programs/desktop/default.nix +++ b/programs/desktop/default.nix @@ -19,7 +19,9 @@ ]; home.packages = with pkgs; [ swaybg - (writeShellScriptBin "set-background" "${swaybg}/bin/swaybg -m fill -i ${./wallpapers/default.jpg}") + (writeShellScriptBin "set-background" '' + ${swaybg}/bin/swaybg -m fill -i ${./wallpapers/default.jpg} + '') (writeShellScriptBin "protonmail-setup-bridge" '' pkill -9 -f protonmail-bridge ${protonmail-bridge}/bin/protonmail-bridge -c diff --git a/programs/desktop/niri/config.kdl b/programs/desktop/niri/config.kdl index 43c8fca..4059728 100644 --- a/programs/desktop/niri/config.kdl +++ b/programs/desktop/niri/config.kdl @@ -40,6 +40,8 @@ layout { screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png" +spawn-at-startup "set-background" + binds { Mod+Shift+Slash { show-hotkey-overlay; } Mod+Return { spawn "foot"; }