diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-04-11 23:16:21 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-04-11 23:16:21 -0400 |
commit | f796821828d14f54db550d0a78dd6850d8d8bed0 (patch) | |
tree | 6a593a6093063475d19e25273a55f1b442d347b5 /bin | |
parent | 594a2ffee9174144e3fe678173fd0a891437a1ee (diff) |
not assume dunst
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mailsync | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mailsync b/bin/mailsync index 8d3052a..6292021 100755 --- a/bin/mailsync +++ b/bin/mailsync @@ -16,7 +16,7 @@ export DISPLAY=:0.0 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() { paplay "$HOME/.config/mutt/bin/notify.ogg" & pgrep -x dunst && notify-send "mutt-wizard" "📬 $2 new mail(s) in \`$1\` account." ;} + notify() { paplay "$HOME/.config/mutt/bin/notify.ogg" & notify-send "mutt-wizard" "📬 $2 new mail(s) in \`$1\` account." ;} fi echo " 🔃" > /tmp/imapsyncicon |