AwesomeFiles/config/awesome/configuration/layout.lua
2022-07-11 20:06:55 -05:00

34 lines
821 B
Lua
Executable file

local awful = require("awful")
local beautiful = require("beautiful")
local bling = require("modules.bling")
local machi = require("modules.layout-machi")
beautiful.layout_machi = machi.get_icon()
--- Custom Layouts
local mstab = bling.layout.mstab
local centered = bling.layout.centered
local horizontal = bling.layout.horizontal
local equal = bling.layout.equalarea
local deck = bling.layout.deck
machi.editor.nested_layouts = {
["0"] = deck,
["1"] = awful.layout.suit.spiral,
["2"] = awful.layout.suit.fair,
["3"] = awful.layout.suit.fair.horizontal,
}
--- Set the layouts
tag.connect_signal("request::default_layouts", function()
awful.layout.append_default_layouts({
awful.layout.suit.tile,
awful.layout.suit.floating,
centered,
mstab,
horizontal,
machi.default_layout,
equal,
deck,
})
end)