The idle counter is reset between each listener

Re: #641
Co-authored-by: @marcinczenko
This commit is contained in:
David Heinemeier Hansson
2026-01-02 20:25:10 -08:00
parent a9cea21463
commit 807c74d405
2 changed files with 6 additions and 2 deletions

View File

@@ -11,12 +11,12 @@ listener {
}
listener {
timeout = 300 # 5min
timeout = 150 # 5min
on-timeout = loginctl lock-session # lock screen when timeout has passed
}
listener {
timeout = 330 # 5.5min
timeout = 30 # 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
}