Attempt to fix PAM timing issue

This commit is contained in:
David Heinemeier Hansson
2026-02-20 15:55:43 +01:00
parent ccc88a0111
commit 718ac2236c
+1 -1
View File
@@ -1,7 +1,7 @@
general {
lock_cmd = omarchy-lock-screen # lock screen and 1password
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.
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
}