From 881f278e0d24271b380b0061b76cd3cf4603adb9 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Thu, 5 Jan 2023 14:00:38 +0100 Subject: [PATCH] Switch to non-deprecated idle arg --- modules/graphical/sway/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/graphical/sway/default.nix b/modules/graphical/sway/default.nix index 8c61be49..07835f35 100644 --- a/modules/graphical/sway/default.nix +++ b/modules/graphical/sway/default.nix @@ -102,7 +102,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 * power off\"' resume '${pkgs.sway}/bin/swaymsg \"output * power on\"' before-sleep '${pkgs.swaylock}/bin/swaylock -f -c 000000'"; } ]; window.commands = [