lain/layout/init.lua

25 lines
552 B
Lua
Raw Normal View History

2013-09-07 12:06:42 +02:00
--[[
Lain
Layouts, widgets and utilities for Awesome WM
Layouts section
Licensed under GNU General Public License v2
* (c) 2013, Luca CPZ
* (c) 2010-2012, Peter Hofmann
2013-09-07 12:06:42 +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
local layout = { _NAME = requirePrefix .. "layout" }
2013-09-07 12:06:42 +02:00
return setmetatable(layout, { __index = wrequire })