getmail handles 0 mails correctly
This commit is contained in:
parent
de494b6c68
commit
f1f4794a9f
@ -1,3 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
num=$(find ~/.local/share/mail/*/INBOX/new -type f | wc -l)
|
num=$(find ~/.local/share/mail/*/INBOX/new -type f | wc -l)
|
||||||
[ $num != 0 ] && echo "📬"$num
|
if [ $num != 0 ]; then
|
||||||
|
echo "📬"$num
|
||||||
|
else
|
||||||
|
echo ""
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user