Skip to content

Commit

Permalink
Quiet!
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimiblock authored May 2, 2024
1 parent 69eb984 commit 5705d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snotify.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5705d9c

Please sign in to comment.