mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-08-18 11:02:10 +00:00
13 lines
265 B
Lua
13 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,
|
|
})
|