awful: one of fg or bg urgent is enough

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-09-01 10:49:30 +02:00
parent 7c6743d89b
commit fb33e85f31
1 changed files with 1 additions and 1 deletions

View File

@ -1279,7 +1279,7 @@ function widget.taglist.label.all(t, args)
if not taglist_squares or taglist_squares == "true" then
background = "resize=\"true\" image=\"@AWESOME_ICON_PATH@/taglist/squarefw.png\""
end
elseif bg_urgent and fg_urgent then
elseif bg_urgent or fg_urgent then
for k, c in pairs(t:clients()) do
if not taglist_squares or taglist_squares == "true" then
background = "resize=\"true\" image=\"@AWESOME_ICON_PATH@/taglist/squarew.png\""