diff --git a/config/programs/swayidle.nix b/config/programs/swayidle.nix index dbebc860..eaf16a76 100644 --- a/config/programs/swayidle.nix +++ b/config/programs/swayidle.nix @@ -28,7 +28,7 @@ in WantedBy = [ "graphical-session.target" ]; }; Service = { - ExecStart = "${pkgs.swayidle}/bin/swayidle -w timeout 300 ${lock-script} timeout 305 ${screen-off-script} resume ${resume-script} before-sleep ${lock-script} lock ${lock-script} unlock ${unlock-script}"; + ExecStart = "${pkgs.swayidle}/bin/swayidle -w timeout 300 ${lock-script} timeout 305 ${screen-off-script} resume ${resume-script} before-sleep ${lock-script} timeout 900 ${suspend-script} lock ${lock-script} unlock ${unlock-script}"; }; }; }