Configure swayidle correctly

This commit is contained in:
Charlotte 🦝 Delenk 2022-03-23 22:09:18 +01:00
parent 3a3ade9e55
commit 8f83ef4ac9
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} timeout 900 ${suspend-script} resume ${resume-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}";
};
};
}