awful: one of fg or bg urgent is enough
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
7c6743d89b
commit
fb33e85f31
|
@ -1279,7 +1279,7 @@ function widget.taglist.label.all(t, args)
|
||||||
if not taglist_squares or taglist_squares == "true" then
|
if not taglist_squares or taglist_squares == "true" then
|
||||||
background = "resize=\"true\" image=\"@AWESOME_ICON_PATH@/taglist/squarefw.png\""
|
background = "resize=\"true\" image=\"@AWESOME_ICON_PATH@/taglist/squarefw.png\""
|
||||||
end
|
end
|
||||||
elseif bg_urgent and fg_urgent then
|
elseif bg_urgent or fg_urgent then
|
||||||
for k, c in pairs(t:clients()) do
|
for k, c in pairs(t:clients()) do
|
||||||
if not taglist_squares or taglist_squares == "true" then
|
if not taglist_squares or taglist_squares == "true" then
|
||||||
background = "resize=\"true\" image=\"@AWESOME_ICON_PATH@/taglist/squarew.png\""
|
background = "resize=\"true\" image=\"@AWESOME_ICON_PATH@/taglist/squarew.png\""
|
||||||
|
|
Loading…
Reference in New Issue