From 697d8495741fb9767b5302a894d125e0a640a038 Mon Sep 17 00:00:00 2001 From: "Rieger, Simon" Date: Mon, 3 Jul 2023 09:54:25 +0200 Subject: [PATCH] fix khal --- dot_config/waybar/executable_waybar-khal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_config/waybar/executable_waybar-khal.py b/dot_config/waybar/executable_waybar-khal.py index 5f4c6a3..1536eb6 100644 --- a/dot_config/waybar/executable_waybar-khal.py +++ b/dot_config/waybar/executable_waybar-khal.py @@ -18,7 +18,7 @@ lines = output.split("\n") new_lines = [] for line in lines: clean_line = escape(line).split(" ::")[0] - if len(clean_line) and not clean_line[0] in ['0', '1', '2']: + if len(clean_line) and clean_line[0].isalpha(): clean_line = "\n"+clean_line+"" new_lines.append(clean_line) output = "\n".join(new_lines).strip()