news icon moved to script
This commit is contained in:
@@ -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)"
|
||||||
|
|||||||
Reference in New Issue
Block a user