lain/widget/contrib/init.lua

24 lines
530 B
Lua
Raw Normal View History

2013-09-25 15:08:11 +02:00
--[[
Lain
Layouts, widgets and utilities for Awesome WM
Users contributed widgets section
Licensed under GNU General Public License v2
* (c) 2013, Luca CPZ
2013-09-25 15:08:11 +02:00
--]]
local requirePrefix = tostring(...):match(".*lain") or ""
if requirePrefix then
requirePrefix = requirePrefix .. "."
end
local wrequire = require(requirePrefix .. "helpers").wrequire
2013-09-25 15:08:11 +02:00
local setmetatable = setmetatable
local widget = { _NAME = requirePrefix .. "widget.contrib" }
2013-09-25 15:08:11 +02:00
2017-02-08 20:45:11 +01:00
return setmetatable(widget, { __index = wrequire })