Fix swayidle

This commit is contained in:
Charlotte Van Petegem 2020-10-05 20:29:39 +02:00
parent 7e23a48ed1
commit 11c79b7faf
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

@ -79,11 +79,7 @@ in
}; };
startup = [ startup = [
{ {
command = ''${pkgs.swayidle}/bin/swayidle -w \ 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'";
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 = [ window.commands = [