mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-21 23:33:56 -05:00
hypridle: fixed wrong timings for screen off and suspend
This commit is contained in:
parent
0a22a4faa3
commit
09611e3b18
|
@ -23,12 +23,12 @@ listener {
|
|||
}
|
||||
|
||||
listener {
|
||||
timeout = 380 # 5.5min
|
||||
timeout = 360 # 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.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300 # 15min
|
||||
timeout = 900 # 15min
|
||||
on-timeout = [[ $(hostname) != "mauville" ]] && systemctl suspend # suspend pc unless on mauville
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue