summaryrefslogtreecommitdiffstats
path: root/.scripts/statusbar/news
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-12-18 14:23:36 -0500
committerLuke Smith <luke@lukesmith.xyz>2018-12-18 14:23:36 -0500
commit1283445b2268a763bdef273fe2b61bbeab9520b7 (patch)
treea309e767000918f2a4b7f9f332c0c4dbf040bba7 /.scripts/statusbar/news
parent1478dca4f48df534681f97ee01bfddd66b80d281 (diff)
downloadeibhear-1283445b2268a763bdef273fe2b61bbeab9520b7.tar.gz
eibhear-1283445b2268a763bdef273fe2b61bbeab9520b7.tar.zst
eibhear-1283445b2268a763bdef273fe2b61bbeab9520b7.zip
newsup fixes for notify-send if newsboat open
Diffstat (limited to '.scripts/statusbar/news')
-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)"