Yes, there's the master_width_policy, but it's a prop you set per tag rather than per layout, and for me personally, and I'd guess others it only makes sense to have it set to 'master_width_factor' for the centered layout, and I don't want that option for my other layouts, especially when using an ultrawide. Making it a beautiful variable is also possible, but I thought this way is more consistent
Here's an example from my config on how I'm using it
awful.screen.connect_for_each_screen(function(s)
for i = 1, 8, 1 do
awful.tag.add(i, {
layout = awful.layout.layouts[1],
centered_layout_master_fill_policy = "master_width_factor",
screen = s,
selected = i == 1 and true or false,
})
end
end)
Yes, there's the master_width_policy, but it's a prop you set per tag rather than per layout, and for me personally, and I'd guess others it only makes sense to have it set to 'master_width_factor' for the centered layout, and I don't want that option for my other layouts, especially when using an ultrawide. Making it a beautiful variable is also possible, but I thought this way is more consistent
Here's an example from my config on how I'm using it