summaryrefslogtreecommitdiff
path: root/bin/mailsync
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-02-22 12:25:37 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-02-22 12:25:37 -0500
commitcd13ef20f085012bf4bc4adecf3474038932ef8f (patch)
tree0b9f6d5948cf378576a4c8268eba63127e374548 /bin/mailsync
parent71c80b72d555a84b1b66ced9c25b72e57b48f0c0 (diff)
shellchecked
Diffstat (limited to 'bin/mailsync')
-rwxr-xr-xbin/mailsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mailsync b/bin/mailsync
index 629f044..bf229d2 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 ~/.config/mutt/bin/notify.opus & pgrep -x dunst && notify-send -i ~/.config/mutt/bin/email.gif "$2 new mail(s) in \`$1\` account." ;}
+ notify() { mpv --really-quiet "$HOME/.config/mutt/bin/notify.opus" & pgrep -x dunst && notify-send -i "$HOME/.config/mutt/bin/email.gif" "$2 new mail(s) in \`$1\` account." ;}
fi
echo " 🔃" > /tmp/imapsyncicon