From 1283445b2268a763bdef273fe2b61bbeab9520b7 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 18 Dec 2018 14:23:36 -0500 Subject: newsup fixes for notify-send if newsboat open --- .scripts/statusbar/news | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.scripts/statusbar') 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 Note: 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)" -- cgit v1.3.1