summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-03-07 10:21:02 +0100
committerAnton Khirnov <anton@khirnov.net>2021-03-07 10:21:02 +0100
commitb9054926c41c641ea6392cdb048eb83301d59157 (patch)
treef79197b4a03ca64dbf36a6383d62c3528c330bc8
parent6d2a322c072d9c9e461d2f2283b30d89af963d07 (diff)
rc: rename variable to reflect its use
-rw-r--r--rc.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/rc.lua b/rc.lua
index 60f3002..c19dd8e 100644
--- a/rc.lua
+++ b/rc.lua
@@ -98,20 +98,20 @@ for s in screen do
end
end)
- -- Widgets that are aligned to the right
- local right_layout = wibox.layout.fixed.vertical()
+ -- Widgets that are aligned to the bottom of the tool bar
+ local layout_bottom = wibox.layout.fixed.vertical()
- right_layout:add(systray)
+ layout_bottom:add(systray)
- right_layout:add(layoutbox)
- right_layout:add(clock_time)
- right_layout:add(clock_date)
+ layout_bottom:add(layoutbox)
+ layout_bottom:add(clock_time)
+ layout_bottom:add(clock_date)
-- Now bring it all together (with the tasklist in the middle)
local layout = wibox.layout.align.vertical()
layout:set_top(mypromptbox[s])
layout:set_middle(pgr.widget)
- layout:set_bottom(right_layout)
+ layout:set_bottom(layout_bottom)
-- Create the wibox
mywibox[s] = awful.wibar({ position = "right", screen = s, width = 128 })