Files
omarchycn/config/hypr/hypridle.conf
T
dd46e965d8 Better system idle (#5619)
* Better system idle

* Just use refresh

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-06 11:16:25 +02:00

20 lines
652 B
Plaintext

general {
lock_cmd = omarchy-system-lock # lock screen and 1password
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = sleep 1 && hyprctl dispatch dpms on # delay for PAM readiness, then turn on display.
inhibit_sleep = 3 # wait until screen is locked
}
# Start screensaver after 2.5 minutes
listener {
timeout = 150
on-timeout = pidof hyprlock || omarchy-launch-screensaver
}
# Idle system after 5 minutes
listener {
timeout = 152
on-timeout = omarchy-system-idle
on-resume = omarchy-system-idle-resume
}