Move set-background command

This commit is contained in:
Evie Litherland-Smith 2024-09-13 08:17:00 +01:00
parent 5140a4ed16
commit 68ecda8abe

View file

@ -6,11 +6,6 @@
accentColourName, accentColourName,
... ...
}: }:
let
set-background = pkgs.writeShellScriptBin "set-background" ''
${pkgs.swaybg}/bin/swaybg -m fill -i ${../wallpapers/landscapes/tropic_island_day.jpg}
'';
in
{ {
imports = [ imports = [
../avizo/default.nix ../avizo/default.nix
@ -177,7 +172,9 @@ in
{ command = "${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1"; } { command = "${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1"; }
{ command = "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n"; } { command = "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n"; }
{ command = "${pkgs.dex}/bin/dex -a"; } { command = "${pkgs.dex}/bin/dex -a"; }
{ command = "${set-background}/bin/set-background"; } {
command = "${pkgs.swaybg}/bin/swaybg -m fill -i ${../wallpapers/landscapes/tropic_island_day.jpg}";
}
]; ];
window = { window = {
border = 1; border = 1;