fix: delay supsend until screen is locked (#1041)

This commit is contained in:
Mathias Remshardt
2025-08-24 21:13:28 +02:00
committed by GitHub
parent ff6802830c
commit f39dc9a269

View File

@@ -3,6 +3,7 @@ general {
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.
on_unlock_cmd = omarchy-restart-waybar # prevent stacking of waybar when waking
inhibit_sleep = 3 # wait until screen is locked
}
listener {