summaryrefslogtreecommitdiffstats
path: root/.scripts/statusbar
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/statusbar')
-rwxr-xr-x.scripts/statusbar/news2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/statusbar/news b/.scripts/statusbar/news
index 95c9f18..3c471a0 100755
--- a/.scripts/statusbar/news
+++ b/.scripts/statusbar/news
@@ -15,4 +15,4 @@ case $BLOCK_BUTTON in
<b>Note:</b> Only one instance of newsboat (including updates) may be running at a time." ;;
esac
-echo "$(newsboat -x print-unread | awk '{ print $1}' | sed s/^0$//g)$(cat ~/.config/newsboat/.update 2>/dev/null)"
+ 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)"