Skip to content

Commit

Permalink
silence notifications on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
justone committed Sep 17, 2018
1 parent 6db018c commit a5fe50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func displayNotice(message string, sticky bool) error {
cmd = exec.Command("terminal-notifier", "-message", message)
logrus.Debugf("Using terminal-notifier for notification.")
} else if _, err := exec.LookPath("SnoreToast"); err == nil {
cmd = exec.Command("SnoreToast", "-t", "PMB", "-m", message)
cmd = exec.Command("SnoreToast", "-silent", "-t", "PMB", "-m", message)
logrus.Debugf("Using SnoreToast for notification.")
} else if _, err := exec.LookPath("notify-send"); err == nil {
cmdParts := []string{"notify-send", "pmb", message}
Expand Down

0 comments on commit a5fe50e

Please sign in to comment.