waybar: update config, optimize spacings
This commit is contained in:
parent
6baf09b068
commit
93bf3cd7ea
4 changed files with 138 additions and 100 deletions
|
@ -49,11 +49,11 @@ for i in range(len(title)):
|
|||
## ongoing
|
||||
if ts_start < ts_now:
|
||||
if ts_start < ts_now and ts_now < ts_end:
|
||||
text = f"{t_start[1]} - {t_end[1]} {t}"
|
||||
text = f"{t_start[1]}-{t_end[1]} {t}"
|
||||
alt = "now"
|
||||
## upcoming
|
||||
elif text == "-":
|
||||
text = f"{t_start[1]} - {t_end[1]} {t}"
|
||||
text = f"{t_start[1]}-{t_end[1]} {t}"
|
||||
alt = "today"
|
||||
line = f"{t_start[1]} - {t_end[1]}: {t}"
|
||||
tooltip += f"\n{line}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue