major springcleaning
This commit is contained in:
6
.local/bin/statusbar/sb-news
Executable file
6
.local/bin/statusbar/sb-news
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
num="$(newsboat -x print-unread | cut -f1 -d ' ' )"
|
||||
if ! pgrep newsboat > /dev/null ; then
|
||||
[ "$num" -gt 0 ] 2>/dev/null && printf "📰%s" "$num"
|
||||
printf '\n'
|
||||
fi
|
Reference in New Issue
Block a user