refactor code structure

This commit is contained in:
2026-08-12 23:15:12 -07:00
parent fef03be5f6
commit bfe5419bb9
17 changed files with 505 additions and 562 deletions
+26
View File
@@ -0,0 +1,26 @@
-- 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,
},
})