minor: taglist.taglist_label: join if / remove indent
This commit is contained in:
parent
f4d6011f23
commit
116c90c8d8
|
@ -55,17 +55,15 @@ function taglist.taglist_label(t, args)
|
||||||
local is_selected = false
|
local is_selected = false
|
||||||
local cls = t:clients()
|
local cls = t:clients()
|
||||||
|
|
||||||
if sel then
|
if sel and taglist_squares_sel then
|
||||||
if taglist_squares_sel then
|
-- Check that the selected client is tagged with 't'.
|
||||||
-- Check that the selected client is tagged with 't'.
|
local seltags = sel:tags()
|
||||||
local seltags = sel:tags()
|
for _, v in ipairs(seltags) do
|
||||||
for _, v in ipairs(seltags) do
|
if v == t then
|
||||||
if v == t then
|
bg_image = taglist_squares_sel
|
||||||
bg_image = taglist_squares_sel
|
bg_resize = taglist_squares_resize == "true"
|
||||||
bg_resize = taglist_squares_resize == "true"
|
is_selected = true
|
||||||
is_selected = true
|
break
|
||||||
break
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue