mutt-wizard

fork of Luke Smiths mutt-wizard
git clone git://git.jakekoroman.com/mutt-wizard
Log | Files | Refs | README | LICENSE

commit 96e582a817a9bd0f73a420d6ebc40c7b94360b0d
parent 6ab753aba3610276e4dfc07f26b81b3926db7fbe
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Tue,  2 Apr 2019 19:27:06 -0400

title and body dunst notification

Diffstat:
Mbin/mailsync | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 "📬 $2 new mail(s) in \`$1\` account." ;} + notify() { paplay "$HOME/.config/mutt/bin/notify.ogg" & pgrep -x dunst && notify-send "mutt-wizard" "📬 $2 new mail(s) in \`$1\` account." ;} fi echo " 🔃" > /tmp/imapsyncicon