bumping hypridle stuff

This commit is contained in:
2025-10-23 08:43:50 -07:00
parent 6323954dd1
commit 1e6c05b893

View File

@@ -5,28 +5,20 @@ general {
after_sleep_cmd = hyprctl dispatch dpms on after_sleep_cmd = hyprctl dispatch dpms on
} }
# Lock after 5 minutes (300 seconds)
listener { listener {
timeout = 300 timeout = 600 # 10 minutes
on-timeout = hyprlock on-timeout = hyprlock
on-resume = hyprctl dispatch dpms on on-resume = hyprctl dispatch dpms on
} }
# Turn off monitors after 10 minutes
listener { listener {
timeout = 600 timeout = 900 # 15 minutes
on-timeout = hyprctl dispatch dpms off on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on on-resume = hyprctl dispatch dpms on
} }
# Suspend system after 30 minutes # Suspend system after 30 minutes
listener { listener {
timeout = 1800 timeout = 2700
on-timeout = hyprlock & disown && systemctl suspend on-timeout = hyprlock & disown && systemctl suspend
} }
# Optional: notification before locking (requires notify-send)
listener {
timeout = 270
on-timeout = notify-send "Locking soon..." "Screen will lock in 30 seconds."
}