lain/widget/init.lua

25 lines
546 B
Lua

--[[
Lain
Layouts, widgets and utilities for Awesome WM
Widgets section
Licensed under GNU General Public License v2
* (c) 2013, Luca CPZ
* (c) 2010-2012, Peter Hofmann
--]]
local requirePrefix = tostring(...):match(".*lain") or ""
if requirePrefix then
requirePrefix = requirePrefix .. "."
end
local wrequire = require(requirePrefix .. "helpers").wrequire
local setmetatable = setmetatable
local widget = { _NAME = requirePrefix .. "widget" }
return setmetatable(widget, { __index = wrequire })