waybar: Fix khal cli parsing
Its output format changed between 0.10.4 and 0.10.5.
This commit is contained in:
parent
4af15f2139
commit
453128db03
|
@ -254,7 +254,7 @@ in
|
||||||
.replace("WAYBARENDKHAL", "</b>")
|
.replace("WAYBARENDKHAL", "</b>")
|
||||||
)
|
)
|
||||||
|
|
||||||
if len(events_today) == 1 and events_today[0] == "No events":
|
if events_today == [""]:
|
||||||
events_today = []
|
events_today = []
|
||||||
|
|
||||||
if len(events_today) == 0:
|
if len(events_today) == 0:
|
||||||
|
|
Loading…
Reference in a new issue