mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-09 19:58:03 +02:00
12 lines
265 B
Lua
12 lines
265 B
Lua
hl.layout.register("columns", {
|
|
recalculate = function(ctx)
|
|
local n = #ctx.targets
|
|
if n == 0 then
|
|
return
|
|
end
|
|
|
|
for i, target in ipairs(ctx.targets) do
|
|
target:place(ctx:column(i, n))
|
|
end
|
|
end,
|
|
})
|