summaryrefslogtreecommitdiff
path: root/dot-config/hypr/layout.lua
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-05-08 23:12:26 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-05-08 23:12:26 +0800
commit0e6b4e953afd26cef5afb4cc2d8a8e7ba5b02063 (patch)
tree5d6a2895500e982649f52fa920351e1c04097118 /dot-config/hypr/layout.lua
parentfc946012ff6686c44190d8e0fda9bec39a69f896 (diff)
bump: hypr
Diffstat (limited to 'dot-config/hypr/layout.lua')
-rw-r--r--dot-config/hypr/layout.lua27
1 files changed, 27 insertions, 0 deletions
diff --git a/dot-config/hypr/layout.lua b/dot-config/hypr/layout.lua
new file mode 100644
index 00000000..57cb6872
--- /dev/null
+++ b/dot-config/hypr/layout.lua
@@ -0,0 +1,27 @@
+hl.config({
+ general = {
+ layout = "scrolling",
+ },
+
+ dwindle = {
+ preserve_split = true, -- You probably want this
+ force_split = 3,
+ precise_mouse_move = true
+ },
+
+ -- See https://wiki.hypr.land/Configuring/Layouts/Master-Layout/ for more
+ master = {
+ new_status = "inherits",
+ },
+
+ -- See https://wiki.hypr.land/Configuring/Layouts/Scrolling-Layout/ for more
+ scrolling = {
+ follow_min_visible = 0.01,
+ fullscreen_on_one_column = true,
+ -- explicit_column_widths = 0.333,
+ -- 0.5,
+ -- 0.667,
+ -- 1.0
+ -- focus_fit_method = 1
+ },
+})