summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-11 23:16:21 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-11 23:16:21 -0400
commitf796821828d14f54db550d0a78dd6850d8d8bed0 (patch)
tree6a593a6093063475d19e25273a55f1b442d347b5 /bin
parent594a2ffee9174144e3fe678173fd0a891437a1ee (diff)
not assume dunst
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mailsync2
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