1
0
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:
2022-08-22 10:29:04 +02:00
parent eed0d0b2af
commit 79e14bfbc2

View File

@@ -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"