awful.common: When a border is set, shrink the widget by its size.

This commit is contained in:
Emmanuel Lepage Vallee 2019-03-12 14:06:50 -04:00
parent 8ac1f67237
commit 7adbbd3f7c
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ local function default_template()
return custom_template {
widget_template = {
id = 'background_role',
border_strategy = 'inner',
widget = wibox.container.background,
{
widget = wibox.layout.fixed.horizontal,