From 453128db03579dadc46f806ef279360bdaf80a75 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 8 Jul 2022 11:23:38 +0200 Subject: [PATCH] waybar: Fix khal cli parsing Its output format changed between 0.10.4 and 0.10.5. --- users/simon/modules/sway/waybar.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/simon/modules/sway/waybar.nix b/users/simon/modules/sway/waybar.nix index a9e0c3d..cc10ce7 100644 --- a/users/simon/modules/sway/waybar.nix +++ b/users/simon/modules/sway/waybar.nix @@ -254,7 +254,7 @@ in .replace("WAYBARENDKHAL", "") ) - if len(events_today) == 1 and events_today[0] == "No events": + if events_today == [""]: events_today = [] if len(events_today) == 0: