repositories
/
dotfiles.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of github.com:dopefishh/dotfiles
[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
"
-eq
1
]
4
then
5
notify-send
"1 new email!"
6
elif
[
"
$newmail
"
-ne
0
]
7
then
8
notify-send
"
$newmail
new emails!"
9
fi
10
notmuch new
11
vdirsyncer sync