diff --git a/rc.lua.dremora b/rc.lua.dremora index d2e228f..58267a1 100755 --- a/rc.lua.dremora +++ b/rc.lua.dremora @@ -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 .. " " - 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 " .. 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 ''