Fix 'mails' module

This commit is contained in:
samedami 2020-05-15 12:18:56 +02:00
parent 218ec8b79a
commit 5bd2886fe2
No known key found for this signature in database
GPG Key ID: FCB4A9A20D00E894

View File

@ -6,4 +6,4 @@ unread="$(find "${XDG_DATA_HOME:-$HOME/.local/share}"/mail/*/[Ii][Nn][Bb][Oo][Xx
icon="$(cat "/tmp/imapsyncicon_$USER" 2>/dev/null)"
[ "$unread" = "0" ] && [ "$icon" = "" ] || echo " $unread$icon"
[ "$unread" -gt "0" ] && echo " $unread$icon" || echo ""