mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +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
|
||||
| {
|
||||
icon: "tasks",
|
||||
text: ($overdue + $dueToday) | tostring,
|
||||
text: (($overdue + $dueToday) as $sum | if $sum > 0 then $sum | tostring else "" end),
|
||||
state: (
|
||||
if $overdue > 0 then
|
||||
"Critical"
|
||||
|
||||
Reference in New Issue
Block a user