mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
20 lines
645 B
Plaintext
20 lines
645 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
|
|
}
|
|
|
|
# Lock system after 5 minutes
|
|
listener {
|
|
timeout = 152
|
|
on-timeout = omarchy-system-lock
|
|
on-resume = omarchy-system-wake
|
|
}
|