2013-09-07 12:06:42 +02:00
|
|
|
--[[
|
2017-09-04 12:43:00 +02:00
|
|
|
|
|
|
|
Lain
|
|
|
|
Layouts, widgets and utilities for Awesome WM
|
|
|
|
|
|
|
|
Layouts 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 layout = { _NAME = requirePrefix .. "layout" }
|
2013-09-07 12:06:42 +02:00
|
|
|
|
|
|
|
return setmetatable(layout, { __index = wrequire })
|