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

blackburn: perfected isospacing autohide widgets

This commit is contained in:
luke bonham 2013-04-26 17:27:45 +02:00
parent f900a63596
commit 184ee18a0c

View file

@ -337,7 +337,7 @@ vicious.register(mygmail, vicious.widgets.gmail,
notify_shown = true notify_shown = true
end end
if yawn.icon == yawn.sky_na then return gray .. " Mail " .. coldef .. white .. args["{count}"] .. coldef if yawn.icon == yawn.sky_na then return gray .. " Mail " .. coldef .. white .. args["{count}"] .. coldef
else return gray .. " <span font='Termsyn 3'> </span>Mail " .. coldef .. white .. args["{count}"] .. "<span font='Tamsyn 5'> </span>" .. coldef else return gray .. " Mail " .. coldef .. white .. args["{count}"] .. " " .. coldef
end end
else else
notify_shown = false notify_shown = false
@ -367,11 +367,11 @@ function(widget, args)
}).id }).id
end end
if yawn.icon == yawn.sky_na then return gray .. args["{Artist}"] .. coldef .. white .. " " .. args["{Title}"] .. coldef if yawn.icon == yawn.sky_na then return gray .. args["{Artist}"] .. coldef .. white .. " " .. args["{Title}"] .. coldef
else return gray .. args["{Artist}"] .. coldef .. white .. " " .. args["{Title}"] .. "<span font='Tamsyn 5'> </span>" .. coldef else return gray .. args["{Artist}"] .. coldef .. white .. " " .. args["{Title}"] .. " " .. coldef
end end
elseif (args["{state}"] == "Pause") then elseif (args["{state}"] == "Pause") then
if yawn.icon == yawn.sky_na then return gray .. "mpd " .. coldef .. white .. "in pausa" .. coldef if yawn.icon == yawn.sky_na then return gray .. "mpd " .. coldef .. white .. "in pausa" .. coldef
else return gray .. "mpd " .. coldef .. white .. "in pausa<span font='Tamsyn 5'> </span>" .. coldef else return gray .. "mpd " .. coldef .. white .. "in pausa " .. coldef
end end
else else
curr_track = nil curr_track = nil