mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
news icon moved to script
This commit is contained in:
parent
6c200b8850
commit
8bc63d8797
@ -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…
x
Reference in New Issue
Block a user