diff --git a/system/home/sway/default.nix b/system/home/sway/default.nix index a008e77b..d01f4f2b 100644 --- a/system/home/sway/default.nix +++ b/system/home/sway/default.nix @@ -6,11 +6,6 @@ accentColourName, ... }: -let - set-background = pkgs.writeShellScriptBin "set-background" '' - ${pkgs.swaybg}/bin/swaybg -m fill -i ${../wallpapers/landscapes/tropic_island_day.jpg} - ''; -in { imports = [ ../avizo/default.nix @@ -177,7 +172,9 @@ in { command = "${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1"; } { command = "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n"; } { 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 = { border = 1;