Files
omarchy/config/hypr/hypridle.conf
David Heinemeier Hansson 16b3c4b6b5 Simpler
2025-06-01 15:37:13 +02:00

11 lines
425 B
Plaintext

general {
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
}
listener {
timeout = 300 # 5min
on-timeout = loginctl lock-session # lock screen when timeout has passed
}