Files
hyprland-dotfiles/config/layouts.lua
T
2026-08-12 23:15:12 -07:00

27 lines
745 B
Lua

-- Keep layout defaults together so a later module cannot silently override a
-- single field from another `hl.config` call.
hl.config({
-- Dwindle is the default layout for ordinary workspaces.
general = {
layout = "dwindle",
},
-- Remember the user's most recent split direction in dwindle.
dwindle = {
preserve_split = true,
},
-- Named workspaces opt into master layout. New windows enter the slave
-- column, leaving the current master in place.
master = {
mfact = 0.80,
orientation = "left",
new_status = "slave",
},
-- Expand the only column when using Hyprland's scrolling layout.
scrolling = {
fullscreen_on_one_column = true,
},
})