news icon moved to script
This commit is contained in:
parent
6c200b8850
commit
8bc63d8797
2 changed files with 1 additions and 2 deletions
|
@ -13,7 +13,6 @@ interval=once
|
||||||
signal=11
|
signal=11
|
||||||
|
|
||||||
[news]
|
[news]
|
||||||
label=📰
|
|
||||||
interval=once
|
interval=once
|
||||||
signal=6
|
signal=6
|
||||||
|
|
||||||
|
|
|
@ -14,4 +14,4 @@ case $BLOCK_BUTTON in
|
||||||
<b>Note:</b> Only one instance of newsboat (including updates) may be running at a time." ;;
|
<b>Note:</b> Only one instance of newsboat (including updates) may be running at a time." ;;
|
||||||
esac
|
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)"
|
||||||
|
|
Loading…
Reference in a new issue