summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-news
blob: 45ec966d2a08197bba40bc16931b7e955206d0e4 (plain)
1
2
3
#!/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) "