From 00ee99851bee6b23ccd7da904475a2d9ba56615a Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Fri, 5 Aug 2016 00:46:19 -0400 Subject: [PATCH] taglist: Add spacing support --- lib/awful/widget/taglist.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/awful/widget/taglist.lua b/lib/awful/widget/taglist.lua index 38a39434e..cfc290e0e 100644 --- a/lib/awful/widget/taglist.lua +++ b/lib/awful/widget/taglist.lua @@ -177,6 +177,10 @@ function taglist.new(screen, filter, buttons, style, update_function, base_widge local uf = update_function or common.list_update local w = base_widget or fixed.horizontal() + if w.set_spacing and (style and style.spacing or beautiful.taglist_spacing) then + w:set_spacing(style and style.spacing or beautiful.taglist_spacing) + end + local data = setmetatable({}, { __mode = 'k' }) local queued_update = {}