repositories
/
dotfiles.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8d8c35c25ac6c0f8131000acf3312bbe1c11879b
[dotfiles.git]
/
email
/
.local
/
bin
/
newmail.sh
1
#!/bin/sh
2
newmail
=
"$(find ~/.local/share/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