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 /internal/notify/store.go | |
| 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 'internal/notify/store.go')
| -rw-r--r-- | internal/notify/store.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/notify/store.go b/internal/notify/store.go index 3648983..51a6f39 100644 --- a/internal/notify/store.go +++ b/internal/notify/store.go @@ -23,6 +23,8 @@ type Popup struct { Urgency Urgency `json:"urgency"` Icon string `json:"icon"` Image string `json:"image"` + Sound string `json:"sound"` + Silent bool `json:"silent"` Actions [][2]string `json:"actions"` Created int64 `json:"created"` Expires int64 `json:"expires"` |
