Prevent flicker on waking from sleep

This commit is contained in:
David Heinemeier Hansson
2026-05-06 12:52:18 +02:00
parent 7330c0f9a5
commit 4e4a688fdf
2 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
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.
before_sleep_cmd = OMARCHY_LOCK_ONLY=true omarchy-system-lock # lock before suspend without scheduling display off.
after_sleep_cmd = sleep 1 && omarchy-system-wake # delay for PAM readiness, then turn on display.
inhibit_sleep = 3 # wait until screen is locked
}