diff options
Diffstat (limited to 'dotfiles/.local/bin/mailsync')
| -rwxr-xr-x | dotfiles/.local/bin/mailsync | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.local/bin/mailsync b/dotfiles/.local/bin/mailsync index 42b8079..ad69337 100755 --- a/dotfiles/.local/bin/mailsync +++ b/dotfiles/.local/bin/mailsync @@ -33,7 +33,7 @@ do account="$(echo "$mailbox" | sed "s/.*\///")" newcount=$(find "$HOME/.local/share/mail/$account/INBOX/new/" "$HOME/.local/share/mail/$account/Inbox/new/" "$HOME/.local/share/mail/$account/inbox/new/" -type f -newer "$HOME/.cache/lastmailsync" 2> /dev/null | wc -l) if [ "$newcount" -gt "0" ]; then - notify-send "📬 Email" "$newcount new mail(s) in \`$account\` mailbox." + notify-send -a "E-mail" -i mail-client "$newcount new mail(s) in \`$account\` mailbox." thereis=1 fi done |
