minor: taglist.taglist_label: join if / remove indent
This commit is contained in:
parent
f4d6011f23
commit
116c90c8d8
|
@ -55,8 +55,7 @@ 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
|
||||||
|
@ -68,7 +67,6 @@ function taglist.taglist_label(t, args)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
if #cls == 0 and t.selected and taglist_squares_sel_empty then
|
if #cls == 0 and t.selected and taglist_squares_sel_empty then
|
||||||
bg_image = taglist_squares_sel_empty
|
bg_image = taglist_squares_sel_empty
|
||||||
bg_resize = taglist_squares_resize == "true"
|
bg_resize = taglist_squares_resize == "true"
|
||||||
|
|
Loading…
Reference in New Issue