From 5705d9c02671ac323482651b136834e1ab7111c8 Mon Sep 17 00:00:00 2001 From: Kimiblock Moe Date: Thu, 2 May 2024 22:59:44 +0800 Subject: [PATCH] Quiet! --- snotify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snotify.go b/snotify.go index b93088f..edfe909 100644 --- a/snotify.go +++ b/snotify.go @@ -76,7 +76,7 @@ func playSoundOnNewLine() { } func playSound() { - soundCmd := exec.Command("mpv", "--no-config", "--volume=80", "/opt/snotify/message.ogg") + soundCmd := exec.Command("mpv", "--no-video", "--no-terminal", "--no-audio-display", "--no-config", "--really-quiet", "--volume=80", "/opt/snotify/message.ogg") if err := soundCmd.Start(); err != nil { fmt.Println("Error playing sound:", err) return