shellchecked

This commit is contained in:
Luke Smith
2019-02-22 12:25:37 -05:00
parent 71c80b72d5
commit cd13ef20f0
2 changed files with 16 additions and 15 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 ~/.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