This commit is contained in:
2 * r + 2 * t 2025-01-18 17:46:02 +11:00
parent 2c0bbe1372
commit d45bfe4575

21
hypridle.conf Normal file
View file

@ -0,0 +1,21 @@
general {
lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session
after_sleep_cmd = hyprctl dispatch dpms on
}
listener {
timeout = 180 # 3mins
on-timeout = loginctl lock-session
}
listener {
timeout = 300 # 5mins
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
listener {
timeout = 600 # 10mins
on-timeout = systemctl suspend-then-hibernate || loginctl suspend
}