hypridle config

This commit is contained in:
krolxon 2025-08-04 21:47:24 +05:30
parent 32b1abc39f
commit 221967f368
1 changed files with 11 additions and 5 deletions

View File

@ -5,17 +5,23 @@ general {
} }
listener { listener {
timeout = 330 # 5.5min timeout = 150 # 2.5min.
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed on-timeout = brightnessctl -s set 5 # set monitor backlight to minimum, avoid 0 on OLED monitor.
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. on-resume = brightnessctl -r # monitor backlight restore.
} }
listener { listener {
timeout = 120 # 2min timeout = 300 # 5min
on-timeout = loginctl lock-session # lock screen when timeout has passed on-timeout = loginctl lock-session # lock screen when timeout has passed
} }
listener { 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 on-timeout = systemctl suspend # suspend pc
} }