Remove auto suspend

This commit is contained in:
SebastianStork 2024-04-12 16:23:19 +02:00
parent 9e97a6379f
commit 3647d432f9

View file

@ -42,17 +42,13 @@ in {
afterSleepCmd = "hyprctl dispatch dpms on"; afterSleepCmd = "hyprctl dispatch dpms on";
listeners = [ listeners = [
{ {
timeout = 300; timeout = 600;
onTimeout = "hyprctl dispatch dpms off"; onTimeout = "hyprctl dispatch dpms off";
onResume = "hyprctl dispatch dpms on"; onResume = "hyprctl dispatch dpms on";
} }
{
timeout = 600;
onTimeout = "loginctl lock-session";
}
{ {
timeout = 1200; timeout = 1200;
onTimeout = "systemctl suspend"; onTimeout = "loginctl lock-session";
} }
]; ];
}; };