summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rc.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/rc.lua b/rc.lua
index 359fd59..4460166 100644
--- a/rc.lua
+++ b/rc.lua
@@ -91,6 +91,10 @@ for s in screen do
awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end),
awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end),
awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end)))
+ local layoutbox_container = wibox.container.constraint(layoutbox, 'max', beautiful.xresources.apply_dpi(tray_icon_size))
+
+ local layout_utils = wibox.layout.flex.horizontal()
+ layout_utils:add(layoutbox_container)
-- Create a tasklist widget
local pgr = pager.Pager:new(s)
@@ -108,7 +112,7 @@ for s in screen do
layout_bottom:add(systray)
- layout_bottom:add(layoutbox)
+ layout_bottom:add(layout_utils)
layout_bottom:add(clock_time)
layout_bottom:add(clock_date)