From 3ed9534d00be8021bf164f462d22da42a719584c Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Sun, 29 Jun 2025 21:16:51 +0200 Subject: [PATCH] hypridle --- modules/hm/hypridle.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/modules/hm/hypridle.nix b/modules/hm/hypridle.nix index 9c34f89..a574e76 100644 --- a/modules/hm/hypridle.nix +++ b/modules/hm/hypridle.nix @@ -11,23 +11,19 @@ listener = [ { - timeout = 180; # 3min. + timeout = 300; # 5min. on-timeout = "brightnessctl -s set 10"; # set monitor backlight to minimum, avoid 0 on OLED monitor. on-resume = "brightnessctl -r"; # monitor backlight restore. } { - timeout = 600; # 10min. + timeout = 900; # 15min. on-timeout = "loginctl lock-session"; # lock screen when timeout has passed } { - timeout = 900; # 15min. + timeout = 1800; # 30min. on-timeout = "hyprctl dispatch dpms off"; # screen off when timeout has passed on-resume = "hyprctl dispatch dpms on && brightnessctl -r"; # screen on when activity is detected after timeout has fired. } - #{ - # timeout = 1800; # 30min. - # on-timeout = "systemctl suspend"; # suspend pc - #} ]; }; };