From 19971c46106fe5dacc629bb2d6be8f7c05281664 Mon Sep 17 00:00:00 2001 From: Lukas Hrazky Date: Wed, 28 Oct 2009 20:58:23 +0100 Subject: [PATCH] taglist: don't pad name with space, use margin Signed-off-by: Lukas Hrazky Signed-off-by: Julien Danjou --- lib/awful/widget/taglist.lua.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/awful/widget/taglist.lua.in b/lib/awful/widget/taglist.lua.in index 7c83017d..72d2af08 100644 --- a/lib/awful/widget/taglist.lua.in +++ b/lib/awful/widget/taglist.lua.in @@ -78,10 +78,10 @@ function taglist_label(t, args) end if not tag.getproperty(t, "icon_only") then if fg_color then - text = text .. "" - text = " " .. text.. (util.escape(t.name) or "") .." " + text = text .. "" .. + (util.escape(t.name) or "") .. "" else - text = text .. " " .. (util.escape(t.name) or "") .. " " + text = text .. (util.escape(t.name) or "") end end text = text .. "" @@ -152,7 +152,7 @@ function new(screen, filter, buttons, style, template) }, { item = "title", - --margin = { left = 2, right = 2 }, + margin = { left = 4, right = 4 }, bg_resize = true, }, layout = layout.horizontal.leftright