From 15aade78dd91e4664bd37ba935cc90015b67e0bc Mon Sep 17 00:00:00 2001 From: Luca Capezzuto Date: Thu, 6 Jun 2019 11:51:07 +0100 Subject: [PATCH] vertex: fix expanding of centered tasklist --- themes/vertex/theme.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/themes/vertex/theme.lua b/themes/vertex/theme.lua index 87a4e3f..0d2af1e 100644 --- a/themes/vertex/theme.lua +++ b/themes/vertex/theme.lua @@ -430,11 +430,10 @@ function theme.at_screen_connect(s) -- Create the wibox 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 s.mywibox:setup { - layout = wiboxlayout, + layout = wibox.layout.align.horizontal, + expand = "none", { -- Left widgets layout = wibox.layout.fixed.horizontal, s.mypromptbox, @@ -442,8 +441,9 @@ function theme.at_screen_connect(s) s.mytasklist, }, { -- Middle widgets - layout = wibox.layout.fixed.horizontal, - mytextclock, + layout = wibox.layout.flex.horizontal, + max_widget_size = 1500, + mytextclock }, { -- Right widgets layout = wibox.layout.fixed.horizontal,