diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-17 01:48:00 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-17 01:48:00 -0400 |
commit | eec12916e3b113825420c3e6731f87b770487245 (patch) | |
tree | 8c42632e5dc48e8a4c7300d7b9e6f8a8ff76248d /.local/bin | |
parent | 4f158776177fd8759f2459a3093dabf18f0caa92 (diff) |
update spacing dwmblocks rss (news)
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/dwmbar/dwmb-news | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/dwmbar/dwmb-news b/.local/bin/dwmbar/dwmb-news index 45ec966..4a33702 100755 --- a/.local/bin/dwmbar/dwmb-news +++ b/.local/bin/dwmbar/dwmb-news @@ -1,3 +1,4 @@ #!/bin/sh - cat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ if($1>0) print " " $1}')$(cat "${XDG_CONFIG_HOME:-$HOME/.config}"/newsboat/.update 2>/dev/null) " +nb=$(cat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ if($1>0) print " " $1}')$(cat "${XDG_CONFIG_HOME:-$HOME/.config}"/newsboat/.update 2>/dev/null) ") +echo " $nb" |