Merge branch 'master' of github.com:dopefishh/dotfiles
[dotfiles.git] / email / .local / bin / newmail.sh
index 4290971..4f62eb4 100755 (executable)
@@ -3,9 +3,9 @@ newmail="$(find ~/.local/share/offlineimap/mail/INBOX/new/ -type f | wc -l)"
 if [ "$newmail" -eq 1 ]
 then
        notify-send "1 new email!"
-else if [ "$newmail" -ne 0 ]
+elif [ "$newmail" -ne 0 ]
 then
        notify-send "$newmail new emails!"
 fi
 notmuch new
-vdirsyncer sync
+#vdirsyncer sync