radical/style/classic.lua

25 lines
584 B
Lua
Raw Normal View History

local setmetatable = setmetatable
local base = require( "radical.base" )
2014-01-05 23:35:23 +01:00
local color = require( "gears.color" )
local module = {
margins = {
TOP = 0 ,
BOTTOM = 0 ,
LEFT = 0 ,
BOTTOM = 0 ,
}
}
local function draw(data)
data.arrow_type = base.arrow_type.NONE
if data.wibox then
data.wibox.border_width = 1
data.wibox.border_color = data.border_color
2014-01-05 23:35:23 +01:00
data.wibox:set_bg(color(data.bg))
end
end
return setmetatable(module, { __call = function(_, ...) return draw(...) end })
-- kate: space-indent on; indent-width 2; replace-tabs on;