waybar: Update event icons

This commit is contained in:
Marty Oehme 2023-06-07 10:08:35 +02:00
parent 681c48d4f7
commit bd555608b1
Signed by: Marty
GPG Key ID: EDBF2ED917B2EF6A
2 changed files with 3 additions and 6 deletions

View File

@ -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": {

View File

@ -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