From ee373fcf3dd5a4e0df52a11f35de1f03315714e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Fri, 19 Aug 2022 14:22:17 +0200 Subject: [PATCH] feat(todo): warn when something is due today --- lib/i3status-rust.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/i3status-rust.nix b/lib/i3status-rust.nix index bfaf15b..a8e10c9 100644 --- a/lib/i3status-rust.nix +++ b/lib/i3status-rust.nix @@ -153,10 +153,10 @@ in { state: ( if $overdue > 0 then "Critical" - elif $dueToday == 0 then - "Good" + elif $dueToday > 0 then + "Warning" else - "Info" + "Idle" end ) }