repositories
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mailcap, xinit
[dotfiles.git]
/
email
/
.local
/
bin
/
newmail.sh
diff --git
a/email/.local/bin/newmail.sh
b/email/.local/bin/newmail.sh
index
a1828a0
..
94d5945
100755
(executable)
--- a/
email/.local/bin/newmail.sh
+++ b/
email/.local/bin/newmail.sh
@@
-1,11
+1,4
@@
#!/bin/sh
#!/bin/sh
-newmail="$(find ~/.local/share/offlineimap/mail/INBOX/new/ -type f | wc -l)"
-if [ "$newmail" -eq 1 ]
-then
- notify-send "1 new email!"
-elif [ "$newmail" -ne 0 ]
-then
- notify-send "$newmail new emails!"
-fi
notmuch new
vdirsyncer sync
notmuch new
vdirsyncer sync
+killall -s SIGUSR1 slstatus