mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
16 lines
735 B
Diff
16 lines
735 B
Diff
diff --git a/lib/notification/notify_xdg.go b/lib/notification/notify_xdg.go
|
|
index 7f102b8..996c15f 100644
|
|
--- a/lib/notification/notify_xdg.go
|
|
+++ b/lib/notification/notify_xdg.go
|
|
@@ -26,8 +26,8 @@ import (
|
|
var notifySendPath string
|
|
var audioCommand string
|
|
var tryAudioCommands = []string{"ogg123", "paplay"}
|
|
-var soundNormal = "/usr/share/sounds/freedesktop/stereo/message-new-instant.oga"
|
|
-var soundCritical = "/usr/share/sounds/freedesktop/stereo/complete.oga"
|
|
+var soundNormal = "@soundTheme@/share/sounds/freedesktop/stereo/message-new-instant.oga"
|
|
+var soundCritical = "@soundTheme@/share/sounds/freedesktop/stereo/complete.oga"
|
|
|
|
func getSoundPath(env, defaultPath string) string {
|
|
if path, ok := os.LookupEnv(env); ok {
|