X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/53208723736b34e4b6c2c23fd77757fd46c436cf..37e0169933aae37d661add99e13752ee70448d35:/widgets/borderbox.lua diff --git a/widgets/borderbox.lua b/widgets/borderbox.lua index c251ea8..149b835 100644 --- a/widgets/borderbox.lua +++ b/widgets/borderbox.lua @@ -7,7 +7,7 @@ --]] -local wibox = require("awful.wibox") +local wibox = require("awful.wibox") local setmetatable = setmetatable -- Creates a thin wibox at a position relative to another wibox @@ -15,14 +15,11 @@ local setmetatable = setmetatable local borderbox = {} local function worker(relbox, s, args) - local where = args.position or 'top' - local color = args.color or '#FFFFFF' - local size = args.size or 1 - local box = nil - local wiboxarg = { - position = nil, - bg = color - } + local where = args.position or 'top' + local color = args.color or '#FFFFFF' + local size = args.size or 1 + local box = nil + local wiboxarg = { position = nil, bg = color } if where == 'top' then