#!/bin/sh
-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 ]
-then
- notify-send "$newmail new emails!"
-fi
notmuch new
vdirsyncer sync
+killall -s SIGUSR1 slstatus