X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=email%2F.local%2Fbin%2Fnewmail.sh;h=29e0638a69ff5509f9229ea0f60a9df9bef65787;hb=ac1f7c98075f108653bd5a8bc99ef80815a158bc;hp=4f62eb41db7e4d478f3974dda17bf3631158afc1;hpb=e5aa4471e2ac124de8e78ce28c40b33990859c96;p=dotfiles.git diff --git a/email/.local/bin/newmail.sh b/email/.local/bin/newmail.sh index 4f62eb4..29e0638 100755 --- a/email/.local/bin/newmail.sh +++ b/email/.local/bin/newmail.sh @@ -1,11 +1,3 @@ #!/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 +vdirsyncer sync