2023-04-20 04:08:44 +00:00
|
|
|
-- 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 = {
|
2023-05-26 02:15:43 +00:00
|
|
|
awful.layout.suit.floating,
|
2023-04-20 04:08:44 +00:00
|
|
|
|
2023-05-26 02:15:43 +00:00
|
|
|
awful.layout.suit.tile,
|
|
|
|
awful.layout.suit.tile.left,
|
|
|
|
awful.layout.suit.tile.bottom,
|
|
|
|
awful.layout.suit.tile.top,
|
2023-04-20 04:08:44 +00:00
|
|
|
|
2023-05-26 02:15:43 +00:00
|
|
|
awful.layout.suit.fair,
|
|
|
|
awful.layout.suit.fair.horizontal,
|
2023-04-20 04:08:44 +00:00
|
|
|
|
2023-05-26 02:15:43 +00:00
|
|
|
awful.layout.suit.max,
|
2023-04-20 04:08:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return layouts
|
|
|
|
end
|
|
|
|
|
|
|
|
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
|
|
|
|
|
|
|
return setmetatable({}, { __call = function(_, ...) return _M.get(...) end })
|