From bc7baa40b130707833a23207b4282c6efa674cee Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 7 Mar 2021 10:12:45 +0100 Subject: rc: drop useless layout with just one child --- rc.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rc.lua b/rc.lua index bad5a4c..60f3002 100644 --- a/rc.lua +++ b/rc.lua @@ -98,10 +98,6 @@ for s in screen do end end) - -- Widgets that are aligned to the left - local left_layout = wibox.layout.fixed.vertical() - left_layout:add(mypromptbox[s]) - -- Widgets that are aligned to the right local right_layout = wibox.layout.fixed.vertical() @@ -113,7 +109,7 @@ for s in screen do -- Now bring it all together (with the tasklist in the middle) local layout = wibox.layout.align.vertical() - layout:set_top(left_layout) + layout:set_top(mypromptbox[s]) layout:set_middle(pgr.widget) layout:set_bottom(right_layout) -- cgit v1.2.3