30 lines
691 B
Lua
30 lines
691 B
Lua
-- Standard awesome library
|
|
local awful = require("awful")
|
|
|
|
local _M = {}
|
|
|
|
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
|
|
|
function _M.get ()
|
|
-- Table of layouts to cover with awful.layout.inc, order matters.
|
|
local layouts = {
|
|
awful.layout.suit.floating,
|
|
|
|
awful.layout.suit.tile,
|
|
awful.layout.suit.tile.left,
|
|
awful.layout.suit.tile.bottom,
|
|
awful.layout.suit.tile.top,
|
|
|
|
awful.layout.suit.fair,
|
|
awful.layout.suit.fair.horizontal,
|
|
|
|
awful.layout.suit.max,
|
|
}
|
|
|
|
return layouts
|
|
end
|
|
|
|
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
|
|
|
return setmetatable({}, { __call = function(_, ...) return _M.get(...) end })
|