bumping hypridle stuff
This commit is contained in:
@@ -5,28 +5,20 @@ general {
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
# Lock after 5 minutes (300 seconds)
|
||||
listener {
|
||||
timeout = 300
|
||||
timeout = 600 # 10 minutes
|
||||
on-timeout = hyprlock
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
# Turn off monitors after 10 minutes
|
||||
listener {
|
||||
timeout = 600
|
||||
timeout = 900 # 15 minutes
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
# Suspend system after 30 minutes
|
||||
listener {
|
||||
timeout = 1800
|
||||
timeout = 2700
|
||||
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."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user