* 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>
20 lines
652 B
Plaintext
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
|
|
}
|