convert everything to metatables and added rules

This commit is contained in:
Noella
2024-03-04 18:38:56 -07:00
parent 497a6bd76c
commit 1e248a903d
7 changed files with 212 additions and 158 deletions

View File

@@ -1,12 +1,22 @@
local awful = require("awful")
local _L = {}
local _M = {}
_L = {
awful.layout.suit.tile,
awful.layout.suit.fair,
awful.layout.suit.max,
awful.layout.suit.floating,
}
function _M.get()
local _L = {}
return _L
_L = {
awful.layout.suit.tile,
awful.layout.suit.fair,
awful.layout.suit.max,
awful.layout.suit.floating,
}
return _L
end
return setmetatable({}, {
__call = function(_, ...)
return _M.get(...)
end,
})