1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-10-22 20:41:22 +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
end
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
else
notify_shown = false
@ -367,11 +367,11 @@ function(widget, args)
}).id
end
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
elseif (args["{state}"] == "Pause") then
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
else
curr_track = nil
@ -607,7 +607,7 @@ for s = 1, screen.count() do
-- Create a tasklist widget
mytasklist[s] = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, mytasklist.buttons)
-- Create the wibox
mywibox[s] = awful.wibox({ position = "top", screen = s, height = 18 })