ding now ogg & played with pa

This commit is contained in:
Luke Smith
2019-02-22 17:41:01 -05:00
parent 977b03349a
commit 77c89b16cc
4 changed files with 4 additions and 4 deletions

View File

@ -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