44 lines
1.3 KiB
Lua
44 lines
1.3 KiB
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,
|
|
},
|
|
|
|
-- HyprStage is currently used by the right-monitor bilibili workspace, so
|
|
-- keep its tucked preview stack on that monitor's right edge.
|
|
plugin = {
|
|
hyprstage = {
|
|
sidebar_side = "right",
|
|
},
|
|
overview = {
|
|
panelColor = "#1d4580",
|
|
panelBorderColor = "#05494d",
|
|
workspaceActiveBackground = "rgba(49, 50, 68, 0.8)",
|
|
workspaceActiveBorder = "rgb(203, 166, 247)",
|
|
onBottom = false,
|
|
autoDrag = true,
|
|
showSpecialWorkspace = true,
|
|
}
|
|
},
|
|
})
|