dotfiles-x11221967f
hypridle config
+11 −5
1 file changed
- M .config/hypr/hypridle.conf +11 −5
| @@ -5,17 +5,23 @@ general { | |||
| 5 | 5 | } | |
| 6 | 6 | ||
| 7 | 7 | listener { | |
| 8 | − | timeout = 330 # 5.5min | |
| 9 | − | on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed | |
| 10 | − | on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. | |
| 8 | + | timeout = 150 # 2.5min. | |
| 9 | + | on-timeout = brightnessctl -s set 5 # set monitor backlight to minimum, avoid 0 on OLED monitor. | |
| 10 | + | on-resume = brightnessctl -r # monitor backlight restore. | |
| 11 | 11 | } | |
| 12 | 12 | ||
| 13 | 13 | listener { | |
| 14 | − | timeout = 120 # 2min | |
| 14 | + | timeout = 300 # 5min | |
| 15 | 15 | on-timeout = loginctl lock-session # lock screen when timeout has passed | |
| 16 | 16 | } | |
| 17 | 17 | ||
| 18 | 18 | listener { | |
| 19 | − | timeout = 900 # 30min | |
| 19 | + | timeout = 330 # 5.5min | |
| 20 | + | on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed | |
| 21 | + | on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected after timeout has fired. | |
| 22 | + | } | |
| 23 | + | ||
| 24 | + | listener { | |
| 25 | + | timeout = 1800 # 30min | |
| 20 | 26 | on-timeout = systemctl suspend # suspend pc | |
| 21 | 27 | } | |