refactor code structure
This commit is contained in:
@@ -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,
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user