diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-03-07 10:12:45 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-03-07 10:12:45 +0100 |
commit | bc7baa40b130707833a23207b4282c6efa674cee (patch) | |
tree | 2f43c7b4abd80e97246ab195d19a6119277fec25 | |
parent | e424c0a5f7e7433f65b94f9c49286f5bee562633 (diff) |
rc: drop useless layout with just one child
-rw-r--r-- | rc.lua | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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) |