# omarchy-sleep-lock.service holds a delay inhibitor so the session is locked # before the machine suspends. A delay inhibitor is a timer, not a promise: # logind suspends anyway once the window expires, locked or not. Five seconds # is not enough when closing the lid also reconfigures displays, because # Quickshell waits for the screen set to settle before it can secure. # # This only costs anything when locking is broken. A healthy lock releases the # inhibitor the moment the session reports secure, well under a second. [Login] InhibitDelayMaxSec=15