1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(i3status-rust): sum todos

This commit is contained in:
2022-08-19 16:42:17 +02:00
parent ee373fcf3d
commit 985ff45e17

View File

@@ -149,7 +149,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)", text: ($overdue + $dueToday) | tostring,
state: ( state: (
if $overdue > 0 then if $overdue > 0 then
"Critical" "Critical"