From 25eed45d904504e5f05e53af3932a4d56a36797b Mon Sep 17 00:00:00 2001 From: samedamci Date: Sat, 30 May 2020 10:56:39 +0200 Subject: [PATCH] Fix news bar module --- .local/bin/scripts/dwmbar/news | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/scripts/dwmbar/news b/.local/bin/scripts/dwmbar/news index 5d0c784..273c355 100755 --- a/.local/bin/scripts/dwmbar/news +++ b/.local/bin/scripts/dwmbar/news @@ -5,5 +5,5 @@ icon="$(cat "/tmp/newsupdate" 2>/dev/null)" unread="$(cat "$HOME/.cache/news_unread" 2>/dev/null)" printf "" -[ "$unread" ] && "$unread" +[ "$unread" ] && printf " %s" "$unread" echo "$icon"