mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-26 04:57:47 -04:00
* lock: take the lock back when the shell restarts into a locked session Check the state once when the module completes, on locked or lockedHint, and handle it the way onSessionLocked does, including the wait while the session is inactive. After a logind Unlock that the shell ignored for a lock it started, only lockedHint still says locked; and the module loads asynchronously, so the state can arrive before its Connections exist. * loginctl: read LockedHint from logind on unlock logind's Unlock signal does not clear LockedHint, only the locker does. Forcing it false told a shell restarted in that window that the session was no longer locked.