2016-12-11 06:05:50 +01:00
|
|
|
local parent = ... --DOC_HIDE
|
|
|
|
local wibox = require( "wibox" ) --DOC_HIDE
|
|
|
|
local assets = require( "xresources.assets" ) --DOC_HIDE
|
|
|
|
|
|
|
|
parent:add( --DOC_HIDE
|
|
|
|
|
|
|
|
wibox.widget {
|
|
|
|
fit = function() return 148, 128 end,
|
|
|
|
draw = function(_, _, cr)
|
|
|
|
assets.gen_logo(cr, 128, 128, nil, "#535d6c")
|
|
|
|
cr:translate(128 + 128/16, 0)
|
2016-12-18 18:59:58 +01:00
|
|
|
assets.gen_awesome_name(cr, 158, nil, "#535d6c", nil)
|
2016-12-11 06:05:50 +01:00
|
|
|
end,
|
|
|
|
widget = wibox.widget.base.make_widget
|
|
|
|
}
|
|
|
|
|
|
|
|
) --DOC_HIDE
|