doc: Improve the `awful` template client widget.

It was incorrectly sized.
This commit is contained in:
Emmanuel Lepage Vallee 2021-10-15 19:43:58 -07:00
parent 203d0638be
commit c1d25cd70d
1 changed files with 7 additions and 6 deletions

View File

@ -156,12 +156,13 @@ local function client_widget(c, col, label)
},
layout = wibox.layout.stack
},
border_width = bw,
border_color = bc,
shape_clip = true,
fg = beautiful.fg_normal or "#000000",
bg = col,
shape = function(cr2, w, h)
border_width = bw,
border_color = bc,
shape_clip = true,
border_strategy = "inner",
fg = beautiful.fg_normal or "#000000",
bg = col,
shape = function(cr2, w, h)
return shape.rounded_rect(cr2, w, h, args.radius or 5)
end,