From bd555608b1f49c45903e61fdbeb0a68970e55783 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 7 Jun 2023 10:08:35 +0200 Subject: [PATCH] waybar: Update event icons --- desktop/.config/waybar/config | 5 +---- desktop/.config/waybar/modules/khal.py | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/desktop/.config/waybar/config b/desktop/.config/waybar/config index ccb3871..81d4e74 100644 --- a/desktop/.config/waybar/config +++ b/desktop/.config/waybar/config @@ -51,9 +51,6 @@ "custom/events": { "format": "{}", "interval": 300, - "format-icons": { - "default": "" - }, "exec": "~/.config/waybar/modules/khal.py 2>/dev/null", "exec-if": "command -v khal >/dev/null 2>&1", "return-type": "json", @@ -144,7 +141,7 @@ "format": "{} 󱐁", }, "river/window": { - "format": " {}", + "format": " {}", "max-length": 70 }, "temperature": { diff --git a/desktop/.config/waybar/modules/khal.py b/desktop/.config/waybar/modules/khal.py index a5f0117..ba96199 100755 --- a/desktop/.config/waybar/modules/khal.py +++ b/desktop/.config/waybar/modules/khal.py @@ -26,9 +26,9 @@ for line in lines: output = "\n".join(new_lines).strip() if today in output: - data["text"] = " " + output.split("\n")[1] + data["text"] = " " + output.split("\n")[1] else: - data["text"] = "" + data["text"] = " " data["tooltip"] = output