Turn screen off after locked for 5.5 minutes

This commit is contained in:
David Heinemeier Hansson
2025-06-17 21:14:12 +02:00
parent a8b4d87e8f
commit d8ba7d7eb6

View File

@ -8,3 +8,9 @@ listener {
timeout = 300 # 5min 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 {
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
}