Niri: call set-background at startup
This commit is contained in:
parent
6bc0cbdc4f
commit
b4b37d3d2a
|
@ -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
|
||||
|
|
|
@ -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"; }
|
||||
|
|
Reference in a new issue