diff options
Diffstat (limited to 'internal/notify/service.go')
| -rw-r--r-- | internal/notify/service.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/notify/service.go b/internal/notify/service.go index 1b1c89b..3ad3c75 100644 --- a/internal/notify/service.go +++ b/internal/notify/service.go @@ -116,6 +116,7 @@ func (s *Service) Notify(appName string, replacesID uint32, appIcon, summary, bo now := time.Now().UnixMilli() s.mu.Lock() timeouts := s.cfg.Timeouts + theme := s.cfg.SoundTheme s.mu.Unlock() ms := EffectiveTimeoutMS(expireTimeout, u, timeouts) // Spec priority is image-data > image-path > the deprecated icon_data. A @@ -131,6 +132,7 @@ func (s *Service) Notify(appName string, replacesID uint32, appIcon, summary, bo Actions: ParseActions(actions), Created: now, } + n.Sound, n.Silent = SoundFromHints(hints, theme) var raw *RawImage if r, ok := ImageDataFromHints(hints); ok { raw = r |
