Fix news bar module

This commit is contained in:
Wiktor Zykubek 2020-05-30 10:56:39 +02:00
parent 97ad2575ef
commit 85b83c3c1f

View File

@ -5,5 +5,5 @@ icon="$(cat "/tmp/newsupdate" 2>/dev/null)"
unread="$(cat "$HOME/.cache/news_unread" 2>/dev/null)" unread="$(cat "$HOME/.cache/news_unread" 2>/dev/null)"
printf "" printf ""
[ "$unread" ] && "$unread" [ "$unread" ] && printf " %s" "$unread"
echo "$icon" echo "$icon"