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