63 lines
2.1 KiB
Lua
63 lines
2.1 KiB
Lua
-----------------
|
|
---- LAYOUTS ----
|
|
-----------------
|
|
-- Version 1
|
|
-- Last change: Sun 2026-06-14 using Hyprland v0.55.3-1
|
|
-- Git repo: https://git.fennek.xyz/fennek182/dotfiles
|
|
|
|
hl.config({
|
|
general = {
|
|
-- See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
layout = "dwindle",
|
|
gaps_in = 5, -- int default: 10 - previously: 6
|
|
gaps_out = 10, -- int default: 20 - previously: 10
|
|
border_size = 2,
|
|
resize_on_border = true,
|
|
hover_icon_on_border = true,
|
|
-- extend_border_grab_area = 200,
|
|
|
|
snap = {
|
|
enabled = true, -- bool default: false
|
|
window_gap = 10, -- int default: 10
|
|
monitor_gap = 10, -- int default: 10
|
|
},
|
|
|
|
col = {
|
|
active_border = { colors = { "rgba(33ccffee)", "rgba(ee11eeee)" }, angle = 45 },
|
|
inactive_border = { colors = { "rgb(303046)", "rgb(303046)" }, angle = 90 },
|
|
},
|
|
},
|
|
})
|
|
|
|
--- dwindle layout - see https://wiki.hypr.land/Configuring/Layouts/Dwindle-Layout/ for more
|
|
hl.config({
|
|
dwindle = {
|
|
force_split = 0,
|
|
preserve_split = false,
|
|
preserve_split = true, -- you probably want this
|
|
smart_split = false,
|
|
smart_resizing = true,
|
|
permanent_direction_override = false,
|
|
special_scale_factor = 1,
|
|
split_width_multiplier = 1.0,
|
|
use_active_for_splits = true,
|
|
default_split_ratio = 1.0,
|
|
split_bias = 0,
|
|
precise_mouse_move = false,
|
|
},
|
|
})
|
|
|
|
--- master layout - see https://wiki.hypr.land/Configuring/Layouts/Master-Layout/ for more
|
|
hl.config({
|
|
master = {
|
|
new_status = "master",
|
|
},
|
|
})
|
|
|
|
--- scrolling layout - see https://wiki.hypr.land/Configuring/Layouts/Scrolling-Layout/ for more
|
|
hl.config({
|
|
scrolling = {
|
|
fullscreen_on_one_column = true,
|
|
},
|
|
})
|