I was able to do this by putting widget.Spacer() on both sides of the 
widget I wanted to center.

Something like

screens = [
   Screen(
       top=bar.Bar(
           [
               widget.GroupBox(),
               widget.CurrentLayout(),
               widget.Prompt(),
               widget.Spacer(),
               widget.WindowName(width=bar.CALCULATED),  # 'length' doesn't 
work
               widget.Spacer(),
               widget.Clock(format='%b %-d %H:%M'),
               widget.Systray(),
           ],
           24,
       ),
   ),
]


On Tuesday, June 2, 2020 at 10:24:56 AM UTC-7, MendWater wrote:
>
> Like in topic ;)

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/75ba95c6-5c58-410e-8fcc-d9a44b469b92o%40googlegroups.com.

Reply via email to