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 +- bin/notify.ogg | Bin 0 -> 19247 bytes bin/notify.opus | Bin 28900 -> 0 bytes 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 bin/notify.ogg delete mode 100644 bin/notify.opus (limited to 'bin') 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 diff --git a/bin/notify.ogg b/bin/notify.ogg new file mode 100644 index 0000000..b20092e Binary files /dev/null and b/bin/notify.ogg differ diff --git a/bin/notify.opus b/bin/notify.opus deleted file mode 100644 index a76ce32..0000000 Binary files a/bin/notify.opus and /dev/null differ -- cgit v1.2.3