diff --git a/configurations/sway.nix b/configurations/sway.nix index 7b48d478..835efee4 100644 --- a/configurations/sway.nix +++ b/configurations/sway.nix @@ -79,11 +79,7 @@ in }; startup = [ { - command = ''${pkgs.swayidle}/bin/swayidle -w \ - timeout 300 '${pkgs.swaylock}/bin/swaylock -f -c 000000' \ - timeout 150 '${pkgs.sway}/bin/swaymsg "output * dpms off"' \ - resume '${pkgs.sway}/bin/swaymsg "output * dpms on"' \ - before-sleep '${pkgs.swaylock}/bin/swaylock -f -c 000000''; + command = "${pkgs.swayidle}/bin/swayidle -w timeout 300 '${pkgs.swaylock}/bin/swaylock -f -c 000000' timeout 150 '${pkgs.sway}/bin/swaymsg \"output * dpms off\"' resume '${pkgs.sway}/bin/swaymsg \"output * dpms on\"' before-sleep '${pkgs.swaylock}/bin/swaylock -f -c 000000'"; } ]; window.commands = [