From c5913497384c61956c501613227bfadf7ddae081 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Thu, 28 Mar 2019 10:10:05 +0100 Subject: [PATCH] newmail patch --- email/.local/bin/newmail.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email/.local/bin/newmail.sh b/email/.local/bin/newmail.sh index 4290971..a1828a0 100755 --- a/email/.local/bin/newmail.sh +++ b/email/.local/bin/newmail.sh @@ -3,7 +3,7 @@ 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 ] +elif [ "$newmail" -ne 0 ] then notify-send "$newmail new emails!" fi -- 2.20.1