summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-03-07 10:12:45 +0100
committerAnton Khirnov <anton@khirnov.net>2021-03-07 10:12:45 +0100
commitbc7baa40b130707833a23207b4282c6efa674cee (patch)
tree2f43c7b4abd80e97246ab195d19a6119277fec25
parente424c0a5f7e7433f65b94f9c49286f5bee562633 (diff)
rc: drop useless layout with just one child
-rw-r--r--rc.lua6
1 files changed, 1 insertions, 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)