From 9fe6802122f6e0392c7fe20eefd30437771d7f8e Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Wed, 8 Apr 2020 19:10:00 -0400 Subject: oops for config --- .local/bin/statusbar/news | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/statusbar/news') diff --git a/.local/bin/statusbar/news b/.local/bin/statusbar/news index 85fed45..28b2940 100755 --- a/.local/bin/statusbar/news +++ b/.local/bin/statusbar/news @@ -14,4 +14,4 @@ case $BLOCK_BUTTON in Note: Only one instance of newsboat (including updates) may be running at a time." ;; esac - cat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ print "📰 " $1}' | sed s/^0$//g)$(cat ${XDG_CONFIG_HOME:$HOME/.config}/newsboat/.update 2>/dev/null)" + cat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ print "📰 " $1}' | sed s/^0$//g)$(cat ${XDG_CONFIG_HOME:-$HOME/.config}/newsboat/.update 2>/dev/null)" -- cgit v1.3.1