From 657b41d3579c611b72305a04a44118c42ae9dfc8 Mon Sep 17 00:00:00 2001 From: Guilherme Rugai Freire Date: Wed, 1 Jun 2022 12:28:01 -0300 Subject: [PATCH] qtile: add clock to the aux_bar --- .config/qtile/config.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.config/qtile/config.py b/.config/qtile/config.py index e0ceda7..f9ea5e9 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -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"), ] )