news icon moved to script

This commit is contained in:
Luke Smith 2020-02-08 20:04:11 -05:00
parent 6c200b8850
commit 8bc63d8797
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
2 changed files with 1 additions and 2 deletions

View file

@ -13,7 +13,6 @@ interval=once
signal=11
[news]
label=📰
interval=once
signal=6

View file

@ -14,4 +14,4 @@ case $BLOCK_BUTTON in
<b>Note:</b> Only one instance of newsboat (including updates) may be running at a time." ;;
esac
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)"
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)"