hypridle: fixed wrong timings for screen off and suspend

This commit is contained in:
Aly Raffauf 2024-03-28 11:09:43 -04:00
parent 0a22a4faa3
commit 09611e3b18

View file

@ -23,12 +23,12 @@ listener {
} }
listener { listener {
timeout = 380 # 5.5min timeout = 360 # 5.5min
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed 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. on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
} }
listener { listener {
timeout = 300 # 15min timeout = 900 # 15min
on-timeout = [[ $(hostname) != "mauville" ]] && systemctl suspend # suspend pc unless on mauville on-timeout = [[ $(hostname) != "mauville" ]] && systemctl suspend # suspend pc unless on mauville
} }