From 3647d432f97485938f75a8f333699468dcf327a2 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Fri, 12 Apr 2024 16:23:19 +0200 Subject: [PATCH] Remove auto suspend --- modules/home/de/hyprland.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/modules/home/de/hyprland.nix b/modules/home/de/hyprland.nix index 2722bd0..2c8fad1 100644 --- a/modules/home/de/hyprland.nix +++ b/modules/home/de/hyprland.nix @@ -42,17 +42,13 @@ in { afterSleepCmd = "hyprctl dispatch dpms on"; listeners = [ { - timeout = 300; + timeout = 600; onTimeout = "hyprctl dispatch dpms off"; onResume = "hyprctl dispatch dpms on"; } - { - timeout = 600; - onTimeout = "loginctl lock-session"; - } { timeout = 1200; - onTimeout = "systemctl suspend"; + onTimeout = "loginctl lock-session"; } ]; };