summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/hypr/hypridle.conf16
1 files changed, 11 insertions, 5 deletions
diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf
index c3e56cd..d7a7c9d 100644
--- a/.config/hypr/hypridle.conf
+++ b/.config/hypr/hypridle.conf
@@ -5,17 +5,23 @@ general {
}
listener {
- timeout = 330 # 5.5min
- on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
- on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
+ timeout = 150 # 2.5min.
+ on-timeout = brightnessctl -s set 5 # set monitor backlight to minimum, avoid 0 on OLED monitor.
+ on-resume = brightnessctl -r # monitor backlight restore.
}
listener {
- timeout = 120 # 2min
+ timeout = 300 # 5min
on-timeout = loginctl lock-session # lock screen when timeout has passed
}
listener {
- timeout = 900 # 30min
+ timeout = 330 # 5.5min
+ 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.
+}
+
+listener {
+ timeout = 1800 # 30min
on-timeout = systemctl suspend # suspend pc
}