diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-19 09:53:00 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-19 09:53:00 +0200 |
| commit | 47c2469aeb0e8f3ed40b995a560ab95ca1eb1074 (patch) | |
| tree | 320f6e1d1b888014f265c2a5413a89f84965b4bc /README.md | |
| parent | 7a4d76c5db3e7668796486a0a4d9db583f89b8e5 (diff) | |
| download | notifyd-47c2469aeb0e8f3ed40b995a560ab95ca1eb1074.tar.gz notifyd-47c2469aeb0e8f3ed40b995a560ab95ca1eb1074.zip | |
feat(notify): publish each notification's sound and suppress-sound
The sound-name lookup uses config.json's soundTheme, default freedesktop.
The quickshell settings page mirrors that key to gsettings; the daemon
only reads the file.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -39,13 +39,20 @@ is optional and the defaults are the behaviour without the file: { "timeouts": { "low": 10, "normal": 10, "critical": 0 }, "liveCap": 20, - "historyCap": 20 + "historyCap": 20, + "soundTheme": "freedesktop" } Timeouts are seconds up to a day (86400), 0 is never, and apply only when a client sends `expire_timeout -1`. Caps clamp to 1..100; a lowered cap applies at the next notification. A broken file is logged and read as the defaults. +`soundTheme` is the freedesktop sound theme an app's `sound-name` hint is +looked up in (then its `Inherits`, then `freedesktop`). The daemon publishes +each notification's resolved `sound` (a path, or `""`) and `silent` (the +app's `suppress-sound`); a `sound-file` hint wins over `sound-name` when it +is an absolute path to an existing file. Playing is the renderer's job. + The daemon reads it at start and on `notifyctl reload`. The quickshell settings page writes it; the same file carries the balloon shell's keys (`balloons`, `dndPassCritical`, `muted`), which the daemon ignores. |
