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": { "custom/events": {
"format": "{}", "format": "{}",
"interval": 300, "interval": 300,
"format-icons": {
"default": ""
},
"exec": "~/.config/waybar/modules/khal.py 2>/dev/null", "exec": "~/.config/waybar/modules/khal.py 2>/dev/null",
"exec-if": "command -v khal >/dev/null 2>&1", "exec-if": "command -v khal >/dev/null 2>&1",
"return-type": "json", "return-type": "json",
@ -144,7 +141,7 @@
"format": "{} 󱐁", "format": "{} 󱐁",
}, },
"river/window": { "river/window": {
"format": " {}", "format": " {}",
"max-length": 70 "max-length": 70
}, },
"temperature": { "temperature": {

View file

@ -26,9 +26,9 @@ for line in lines:
output = "\n".join(new_lines).strip() output = "\n".join(new_lines).strip()
if today in output: if today in output:
data["text"] = "" + output.split("\n")[1] data["text"] = " " + output.split("\n")[1]
else: else:
data["text"] = "" data["text"] = " "
data["tooltip"] = output data["tooltip"] = output