1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-10-22 12:31:23 +00:00

vertex: fix expanding of centered tasklist

This commit is contained in:
Luca Capezzuto 2019-06-06 11:51:07 +01:00
parent 5f550dc33f
commit 15aade78dd
No known key found for this signature in database
GPG key ID: EDCFE1C5B0CD8FB5

View file

@ -430,11 +430,10 @@ function theme.at_screen_connect(s)
-- Create the wibox -- Create the wibox
s.mywibox = awful.wibar({ position = "top", screen = s, height = dpi(25), bg = gears.color.create_png_pattern(theme.panelbg) }) s.mywibox = awful.wibar({ position = "top", screen = s, height = dpi(25), bg = gears.color.create_png_pattern(theme.panelbg) })
local wiboxlayout = wibox.layout.align.horizontal()
wiboxlayout.expand = "none"
-- Add widgets to the wibox -- Add widgets to the wibox
s.mywibox:setup { s.mywibox:setup {
layout = wiboxlayout, layout = wibox.layout.align.horizontal,
expand = "none",
{ -- Left widgets { -- Left widgets
layout = wibox.layout.fixed.horizontal, layout = wibox.layout.fixed.horizontal,
s.mypromptbox, s.mypromptbox,
@ -442,8 +441,9 @@ function theme.at_screen_connect(s)
s.mytasklist, s.mytasklist,
}, },
{ -- Middle widgets { -- Middle widgets
layout = wibox.layout.fixed.horizontal, layout = wibox.layout.flex.horizontal,
mytextclock, max_widget_size = 1500,
mytextclock
}, },
{ -- Right widgets { -- Right widgets
layout = wibox.layout.fixed.horizontal, layout = wibox.layout.fixed.horizontal,