Niri: call set-background at startup

This commit is contained in:
Evie Litherland-Smith 2024-05-27 20:10:38 +01:00
parent 6bc0cbdc4f
commit b4b37d3d2a
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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"; }