X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/f37a31878edfb59d56c2b0fde04ae80c46a8809e..dd4f40c48c32406f7d1dcb53fd7ec1879b6ffb8d:/widgets/borderbox.lua?ds=sidebyside diff --git a/widgets/borderbox.lua b/widgets/borderbox.lua index cce8517..149b835 100644 --- a/widgets/borderbox.lua +++ b/widgets/borderbox.lua @@ -7,8 +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 @@ -16,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