From 11c79b7fafbdfaec0000299b70d3b8f4f187f6a4 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Mon, 5 Oct 2020 20:29:39 +0200 Subject: [PATCH] Fix swayidle --- configurations/sway.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 = [