waybar: Update event icons
This commit is contained in:
parent
681c48d4f7
commit
bd555608b1
2 changed files with 3 additions and 6 deletions
|
@ -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",
|
||||||
|
|
|
@ -28,7 +28,7 @@ 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue