qtile: add clock to the aux_bar

This commit is contained in:
Guilherme Rugai Freire 2022-06-01 12:28:01 -03:00
parent 80a303d63a
commit 657b41d357
No known key found for this signature in database
GPG Key ID: FC05BE5CD322C427

View File

@ -348,6 +348,16 @@ def aux_bar():
widget.Memory(format='Memory {MemPercent}%'),
widget.ThermalSensor(fmt='Temp: {}'),
widget.CPU(format='CPU {load_percent}%'),
widget.Sep(
linewidth=8,
background=colors["background"],
foreground=colors["background"],
),
widget.Clock(
format="%d / %m / %y",
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(CALENDAR)},
),
widget.Clock(format="%I:%M %p", font=FONT + " Bold"),
]
)