Prevented statusbar module from not showing when 0 unread items
This commit is contained in:
luukvbaal 2018-11-19 11:08:59 +01:00 committed by GitHub
parent 2dc8fabaaf
commit b52886fc6c

View file

@ -11,4 +11,4 @@ case $BLOCK_BUTTON in
- Left click opens newsboat" ;;
esac
echo " $(newsboat -x print-unread | awk '{ print $1}' | sed s/^0$//g)$(cat ~/.config/newsboat/.update 2>/dev/null)"
echo "$(newsboat -x print-unread | awk '{ print $1}' | sed s/^0$//g)$(cat ~/.config/newsboat/.update 2>/dev/null)"