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()