From 77c89b16cc6f7c2816e95532fbde5267344c7404 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 22 Feb 2019 17:41:01 -0500 Subject: ding now ogg & played with pa --- bin/mailsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/mailsync') diff --git a/bin/mailsync b/bin/mailsync index b6b728f..a412254 100755 --- a/bin/mailsync +++ b/bin/mailsync @@ -16,7 +16,7 @@ if [ "$(uname)" = "Darwin" ] then notify() { osascript -e "display notification \"$2 in $1\" with title \"You've got Mail\" subtitle \"Account: $account\"" && sleep 2 ;} else - notify() { mpv --really-quiet "$HOME/.config/mutt/bin/notify.opus" & pgrep -x dunst && notify-send "📬 $2 new mail(s) in \`$1\` account." ;} + notify() { paplay "$HOME/.config/mutt/bin/notify.ogg" & pgrep -x dunst && notify-send "📬 $2 new mail(s) in \`$1\` account." ;} fi echo " 🔃" > /tmp/imapsyncicon -- cgit v1.2.3