summaryrefslogtreecommitdiffstats
path: root/modules/desktop/awesome/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/awesome/rc.lua')
-rw-r--r--modules/desktop/awesome/rc.lua41
1 files changed, 19 insertions, 22 deletions
diff --git a/modules/desktop/awesome/rc.lua b/modules/desktop/awesome/rc.lua
index 3d2de6d..9c2bdc5 100644
--- a/modules/desktop/awesome/rc.lua
+++ b/modules/desktop/awesome/rc.lua
@@ -672,39 +672,36 @@ client.connect_signal("request::titlebars", function(c)
layout = wibox.layout.flex.horizontal
},
{ -- Right
+ {
{
{
- {
- widget = awful.titlebar.widget.maximizedbutton(c),
- },
- widget = wibox.container.background,
- shape = gears.shape.circle,
- shape_border_width = 1,
- shape_border_color = "#12ac28",
- bg = "#28c940",
+ widget = awful.titlebar.widget.maximizedbutton(c),
},
- width = 16,
- strategy = "min",
- layout = wibox.layout.constraint
+ widget = wibox.container.background,
+ shape = gears.shape.circle,
+ shape_border_width = 1,
+ shape_border_color = "#12ac28",
+ bg = "#28c940",
+ forced_width = dpi(14),
},
{
{
- {
- widget = awful.titlebar.widget.closebutton(c),
- },
- widget = wibox.container.background,
- shape = gears.shape.circle,
- shape_border_width = 1,
- shape_border_color = "#ad3934",
- bg = "#bf4943",
+ widget = awful.titlebar.widget.closebutton(c),
},
- width = 16,
- strategy = "min",
- layout = wibox.layout.constraint
+ widget = wibox.container.background,
+ shape = gears.shape.circle,
+ shape_border_width = 1,
+ shape_border_color = "#ad3934",
+ bg = "#bf4943",
+ forced_width = dpi(14),
},
spacing = dpi(6),
layout = wibox.layout.fixed.horizontal
},
+ widget = wibox.container.margin;
+ left = dpi(6);
+ right = dpi(6);
+ },
layout = wibox.layout.align.horizontal
}
end)