mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(i3status-rust): simplify newsboat display
This commit is contained in:
@@ -83,7 +83,7 @@ in {
|
|||||||
--argjson watchLater "$(${newsboat-sql} "SELECT COUNT(DISTINCT id) FROM rss_item WHERE flags='e' AND deleted=0")" \
|
--argjson watchLater "$(${newsboat-sql} "SELECT COUNT(DISTINCT id) FROM rss_item WHERE flags='e' AND deleted=0")" \
|
||||||
'{
|
'{
|
||||||
state: (if $unread > 0 then "Good" else "Idle" end),
|
state: (if $unread > 0 then "Good" else "Idle" end),
|
||||||
text: "\($unread) [\($watchLater)]",
|
text: (if $unread > 0 then "\($unread)" else "[\($watchLater)]" end),
|
||||||
icon: "rss"
|
icon: "rss"
|
||||||
}'
|
}'
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user