diff --git a/lib/notification/notify_xdg.go b/lib/notification/notify_xdg.go index 0807bb2..7f102b8 100644 --- a/lib/notification/notify_xdg.go +++ b/lib/notification/notify_xdg.go @@ -76,7 +76,9 @@ func Send(title, text string, critical, sound bool) error { if critical && len(soundCritical) > 0 { audioFile = soundCritical } - _ = exec.Command(audioCommand, audioFile).Run() + go func() { + _ = exec.Command(audioCommand, audioFile).Run() + }() } return exec.Command(notifySendPath, args...).Run() }