1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 19:22:32 +00:00

dremora perfected

This commit is contained in:
luke bonham 2013-07-07 11:29:01 +02:00
parent bdec9b1440
commit 0c60842397

View file

@ -364,13 +364,10 @@ function(widget, args)
replaces_id = old_id
}).id
end
if mailcount == 0 then return gray .. args["{Artist}"] .. coldef .. white .. " " .. args["{Title}"] .. " " .. coldef
else return gray .. args["{Artist}"] .. coldef .. white .. " " .. args["{Title}"] .. coldef .. "<span font='Tamsyn 8'> <span font='Tamsyn 2'> </span></span>"
end
return gray .. args["{Artist}"] .. coldef .. white .. " " .. args["{Title}"] .. " " .. coldef
elseif args["{state}"] == "Pause" then
if mailcount == 0 then return gray .. "mpd " .. coldef .. white .. "in pausa<span font='Tamsyn 6'> </span> " .. coldef
else return gray .. "mpd " .. coldef .. white .. "in pausa " .. coldef
end
-- 'in pausa' means 'paused'
return gray .. "mpd " .. coldef .. white .. "in pausa " .. coldef
else
curr_track = nil
return ''