2013-09-07 12:06:42 +02:00
|
|
|
--[[
|
2017-09-04 12:43:00 +02:00
|
|
|
|
|
|
|
Lain
|
|
|
|
Layouts, widgets and utilities for Awesome WM
|
|
|
|
|
|
|
|
Widgets section
|
|
|
|
|
|
|
|
Licensed under GNU General Public License v2
|
2017-09-11 06:51:52 +02:00
|
|
|
* (c) 2013, Luca CPZ
|
2017-09-04 12:43:00 +02:00
|
|
|
* (c) 2010-2012, Peter Hofmann
|
|
|
|
|
2013-09-07 12:06:42 +02:00
|
|
|
--]]
|
|
|
|
|
2023-09-05 22:29:10 +02:00
|
|
|
local requirePrefix = tostring(...):match(".*lain") or ""
|
|
|
|
if requirePrefix then
|
|
|
|
requirePrefix = requirePrefix .. "."
|
|
|
|
end
|
|
|
|
|
|
|
|
local wrequire = require(requirePrefix .. "helpers").wrequire
|
2013-09-07 12:06:42 +02:00
|
|
|
local setmetatable = setmetatable
|
|
|
|
|
2023-09-05 22:29:10 +02:00
|
|
|
local widget = { _NAME = requirePrefix .. "widget" }
|
2013-09-07 12:06:42 +02:00
|
|
|
|
2017-02-08 20:45:11 +01:00
|
|
|
return setmetatable(widget, { __index = wrequire })
|