Add sleep as well to hypridle

This commit is contained in:
David Heinemeier Hansson
2025-06-24 17:27:09 -07:00
parent 4eaefaeb24
commit 3531a8fe09

View File

@ -14,3 +14,8 @@ listener {
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 && brightnessctl -r # screen on when activity is detected on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected
} }
listener {
timeout = 1800 # 10min
on-timeout = systemctl sleep # go to sleep
}