a73e7b973daff013ee65293e5daff03fa08ae919
[dotfiles.git] / email / .mutt / newmail.sh
1 #!/bin/sh
2 newmail="$(find ~/.mutt/mail/INBOX/new/ -type f | wc -l)"
3 if [ "$newmail" -ne 0 ]
4 then
5 notify-send "$newmail new emails!"
6 fi
7 notmuch new
8 #vdirsyncer sync