From b9054926c41c641ea6392cdb048eb83301d59157 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 7 Mar 2021 10:21:02 +0100 Subject: rc: rename variable to reflect its use --- rc.lua | 14 +++++++------- 1 file 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 }) -- cgit v1.2.3