diff --git a/context.lua b/context.lua index 82b44e0..d3a4c32 100644 --- a/context.lua +++ b/context.lua @@ -1,5 +1,3 @@ -local unpack = unpack or table.unpack -local rawset = rawset local setmetatable = setmetatable local base = require( "radical.base" ) local wibox = require( "wibox" ) diff --git a/item/layout/centerred.lua b/item/layout/centerred.lua index 80d2d63..3864d18 100644 --- a/item/layout/centerred.lua +++ b/item/layout/centerred.lua @@ -1,8 +1,8 @@ local setmetatable = setmetatable -local wibox = require( "wibox" ) -local util = require( "awful.util" ) +local wibox = require( "wibox" ) +local util = require( "awful.util" ) local horizontal = require( "radical.item.layout.horizontal" ) -local margins2 = require("radical.margins") +local margins2 = require( "radical.margins" ) local function create_item(item,data,args) @@ -24,7 +24,7 @@ local function create_item(item,data,args) }, widget = wibox.widget.background, } - + item.widget = w item._internal.margin_w = item.widget:get_children_by_id("main_margin")[1] item._internal.text_w = item.widget:get_children_by_id("main_text" )[1]