New notification system added that can be used by scripts or programs that want to send notifications through Fenrir. Separate from self-voicing.
This commit is contained in:
1 parent
8eacae13c0
commit
c4e9cb4b75
20 files changed
+1331
-735
No files matched your search
@@ -208,6 +208,8 @@ Shortcuts shared by both layouts:
|
||||
- **Fenrir+A**: select an application override; choose **Default** to clear it.
|
||||
- **Fenrir+Control+E**: open the emoji picker.
|
||||
- **Fenrir+T**: announce the time; press twice quickly for the date.
|
||||
- **Fenrir+N**: repeat the most recent notification.
|
||||
- **Fenrir+Control+N**: browse notification history, newest first, with received times.
|
||||
- **Fenrir+F4**: toggle mute.
|
||||
- **Fenrir+Backspace**: pass the next key through to the application.
|
||||
- **Fenrir+Q**: quit Fenrir.
|
||||
@@ -340,6 +342,7 @@ using the standard socket:
|
||||
|
||||
```bash
|
||||
echo "command say Hello" | socat - UNIX-CLIENT:/tmp/fenrirscreenreader-daemon.sock
|
||||
echo "command notify Hello world" | socat - UNIX-CLIENT:/tmp/fenrirscreenreader-daemon.sock
|
||||
echo "command interrupt" | socat - UNIX-CLIENT:/tmp/fenrirscreenreader-daemon.sock
|
||||
echo "command application ninjam" | socat - UNIX-CLIENT:/tmp/fenrirscreenreader-daemon.sock
|
||||
echo "command application default" | socat - UNIX-CLIENT:/tmp/fenrirscreenreader-daemon.sock
|
||||
@@ -349,6 +352,19 @@ echo "setting set reading#mode=highlight" | socat - UNIX-CLIENT:/tmp/fenrirscree
|
||||
Set `remote.enabled = false` to disable remote control. Command and settings
|
||||
requests can also be enabled separately in the `[remote]` section.
|
||||
|
||||
`command notify TEXT` speaks a notification and retains it for **Fenrir+N** and
|
||||
**Fenrir+Control+N**. History holds the latest 100 notifications for this reader
|
||||
session, including messages received while speech is muted or temporarily
|
||||
silenced. `command say TEXT` remains self-voicing and does not add history.
|
||||
Received times use the current time format in Presentation's Time and date
|
||||
settings. In the history list, use Up/Down to browse, Enter to repeat an entry,
|
||||
and Escape or the Close button to return to the application. Reopen the list
|
||||
to include messages received while it was open.
|
||||
|
||||
Detached notifiers must identify the intended reader, using its private socket
|
||||
when needed. Check socket replies for routing errors; changing `say` to `notify`
|
||||
does not repair an outdated `WINDOWID` in a long-running notifier.
|
||||
|
||||
`command application ID` selects an override for the reader's active terminal,
|
||||
like Fenrir+A. IDs are `default`, `networkmanager`, `ninjam`, `rogue`, and `codex`.
|
||||
In Fenrir+A, select an application and Tab to **Copy alias to clipboard** to
|
||||
|
||||
Reference in new issue
Block a user