Revert "disable automatic suspension"

This reverts commit ba9bca0b52.
This commit is contained in:
Charlotte 🦝 Delenk 2022-04-30 10:36:04 +01:00
parent 7625fea1e9
commit 9d29952f95
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -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}";
};
};
}