checking for new articles externalized to cronjob
This commit is contained in:
parent
d8fe421174
commit
9758909ae7
@ -1,5 +1,4 @@
|
||||
#!/bin/bash
|
||||
newsboat -x reload
|
||||
num=$( cat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ print $1}' | sed s/^0$//g)$(cat ~/.config/newsboat/.update 2>/dev/null)")
|
||||
[ "$num" = "" ] || printf "📰%s" "$num"
|
||||
printf '\n'
|
||||
|
Loading…
Reference in New Issue
Block a user