diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2018-12-18 14:23:36 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2018-12-18 14:23:36 -0500 |
| commit | 1283445b2268a763bdef273fe2b61bbeab9520b7 (patch) | |
| tree | a309e767000918f2a4b7f9f332c0c4dbf040bba7 /.scripts/statusbar/news | |
| parent | 1478dca4f48df534681f97ee01bfddd66b80d281 (diff) | |
| download | eibhear-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/news | 2 |
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)" |
