Skip to content

Commit

Permalink
Lower Volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimiblock committed May 2, 2024
1 parent d7e3939 commit f677280
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("paplay", "/opt/snotify/message.ogg")
soundCmd := exec.Command("paplay", "--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 f677280

Please sign in to comment.