mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
feat(i3status-rust): todo empty if none due
This commit is contained in:
@@ -92,7 +92,7 @@ in {
|
|||||||
| (map(select(.due >= now and .due < now + (60 * 60 * 24))) | length) as $dueToday
|
| (map(select(.due >= now and .due < now + (60 * 60 * 24))) | length) as $dueToday
|
||||||
| {
|
| {
|
||||||
icon: "tasks",
|
icon: "tasks",
|
||||||
text: ($overdue + $dueToday) | tostring,
|
text: (($overdue + $dueToday) as $sum | if $sum > 0 then $sum | tostring else "" end),
|
||||||
state: (
|
state: (
|
||||||
if $overdue > 0 then
|
if $overdue > 0 then
|
||||||
"Critical"
|
"Critical"
|
||||||
|
|||||||
Reference in New Issue
Block a user