diff --git a/lib/awful.lua.in b/lib/awful.lua.in index 1d6b91bf..be5a52f9 100644 --- a/lib/awful.lua.in +++ b/lib/awful.lua.in @@ -1373,7 +1373,11 @@ local function widget_tasklist_label_common(c, args) name = escape(c.name) or "" end if capi.client.focus == c then - text = text .. " "..name.." " + if bg_focus and fg_focus then + text = text .. " "..name.." " + else + text = text .. " "..name.." " + end elseif c.urgent and bg_urgent and fg_urgent then text = text .. " "..name.." " else