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:
Bastian Mäuser committed 2026-11-05 16:17:19 +01:00
1 parent 276e7c5f50
commit b4e51a58f6
6 files changed
+189

No files matched your search

+1
View File
@@ -102,6 +102,7 @@ See `config.toml.example`; every knob is documented there. Highlights:
| `presence_timeout_secs`| 15 | how fresh an update must be to count |
| `rssi_floor` / `rssi_lock` | -90/-80 | discovery floor / out-of-range threshold |
| `duty.*` | see file| per-state scan window/interval |
| `unlock_notice` | true | desktop notification after unlock explaining the lock |
## Power notes