Better notification organization.

This commit is contained in:
Storm Dragon committed 2026-11-07 12:47:26 -05:00
1 parent 81cc630319
commit 2c02a79655
14 files changed
+1276 -40

No files matched your search

+30 -5
View File
@@ -976,13 +976,17 @@ the default theme), waits for the audio output to drain, then speaks the
message.
Sound playback runs outside the input loop.
Missing or failed sound output leaves speech available.
Speech mute or temporary silence keeps the sound and history, with no
spoken message.
The cue plays at most once every 30 seconds across readers for the same
user.
Notifications during this cooldown are spoken without another sound or
sound wait; skipped cues are not queued for later.
Speech mute or temporary silence keeps history and allows the sound
under the same cooldown, with no spoken message.
Recalling a notification does not replay its sound.
.PP
\f[B]Fenrir+N\f[R] repeats the most recent notification.
\f[B]Fenrir+Control+N\f[R] opens a list of the latest 100 notifications
for this reader session, newest first.
\f[B]Fenrir+Control+N\f[R] opens a list of the latest 100 shared
notifications, newest first.
Each message is followed by its received time, formatted using the
current Presentation Time and date preference.
For example, \f[CR]Hello world 01:38 PM\f[R] with 12\-hour time, or
@@ -992,11 +996,32 @@ Use Up/Down to browse, Enter to repeat the selected entry, and Escape or
the Close button to leave.
Tab and Shift+Tab move between controls.
The list is a snapshot; reopen it to include new arrivals.
History is cleared when the reader exits.
Notifications received while muted or temporarily silenced are still
remembered.
Self\-voicing through \f[CR]command say TEXT\f[R] does not add
notifications.
.PP
History is shared across running readers for the same account on this
machine.
Only the targeted reader speaks and plays an eligible cue; the other
readers receive silent history updates.
You can recall those messages from any reader.
The root console reader shares the owner of the active text console\(cqs
history.
Switching console users switches histories and closes the previous
user\(cqs notification dialog.
While a graphical VT is active, it keeps the last selected console
account.
A newly started reader loads existing history silently.
.PP
Notification text stays in memory; sharing needs no additional daemon or
init system service.
A surviving reader takes over when the coordinating reader exits.
History clears after the last reader for that account exits.
A crash can lose the most recent updates if other readers have not
received them yet.
All participating copies must run a build with shared notification
history.
.SS Socket commands
Unix socket remote control is enabled by default.
The standard socket is \f[CR]/tmp/fenrirscreenreader\-daemon.sock\f[R],