Explain locks with a desktop notification after unlock
After locking, wait for the session to come back (logind Unlock, ScreenSaver ActiveChanged, or a new session after re-login) and post a notification saying the phone left Bluetooth range and how long ago. On by default, off with unlock_notice = false. Hidden test-notice subcommand exercises the path without a real lock.
This commit is contained in:
1 parent
276e7c5f50
commit
b4e51a58f6
6 files changed
+189
No files matched your search
@@ -43,5 +43,9 @@ interval_ms = 30000
|
||||
# Optional: command to run instead of `loginctl lock-session`.
|
||||
#lock_command = "swaylock -f"
|
||||
|
||||
# Optional: show a desktop notification after unlocking that explains the
|
||||
# screen was locked because the phone left Bluetooth range.
|
||||
#unlock_notice = true
|
||||
|
||||
# Optional: log lock actions instead of executing them (for testing).
|
||||
#dry_run = false
|
||||
Reference in new issue
Block a user