From 42a46259fb2749387136be4c3a69dc1a273d154f Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Fri, 15 May 2026 07:51:22 +0800 Subject: [PATCH] update docs and config --- assets/config.conf | 15 +++++++++++++++ docs/bindings/keys.md | 1 + docs/window-management/layouts.md | 1 + 3 files changed, 17 insertions(+) diff --git a/assets/config.conf b/assets/config.conf index 938a1f2f..bc141e63 100644 --- a/assets/config.conf +++ b/assets/config.conf @@ -66,6 +66,14 @@ default_mfact=0.55 default_nmaster=1 smartgaps=0 +# Dwindle Layout Setting +dwindle_smart_split=0 +dwindle_drop_simple_split=1 +dwindle_manual_split=0 +dwindle_hsplit=1 +dwindle_vsplit=1 +dwindle_preserve_split=0 + # Overview Setting hotarea_size=10 enable_hotarea=1 @@ -184,6 +192,13 @@ bind=ALT,z,toggle_scratchpad # scroller layout bind=ALT,e,set_proportion,1.0 bind=ALT,x,switch_proportion_preset, +bind=alt+super+ctrl,Left,scroller_stack,left +bind=alt+super+ctrl,Right,scroller_stack,right +bind=alt+super+ctrl,Up,scroller_stack,up +bind=alt+super+ctrl,Down,scroller_stack,down + +#dwindle layout(manual split mode) +bind=alt+shift,Return,dwindle_toggle_split_direction # switch layout bind=SUPER,n,switch_layout diff --git a/docs/bindings/keys.md b/docs/bindings/keys.md index b3a4ab64..002c9564 100644 --- a/docs/bindings/keys.md +++ b/docs/bindings/keys.md @@ -147,6 +147,7 @@ bindr=Super,Super_L,spawn,rofi -show run | `scroller_stack` | `left/right/up/down` | Move window inside/outside scroller stack by direction. | | `incgaps` | `+/-value` | Adjust gap size. | | `togglegaps` | - | Toggle gaps. | +| `dwindle_toggle_split_direction` | - | Toggle split direction in dwindle layout. | ### System diff --git a/docs/window-management/layouts.md b/docs/window-management/layouts.md index b5f14a4d..4ed2b404 100644 --- a/docs/window-management/layouts.md +++ b/docs/window-management/layouts.md @@ -98,6 +98,7 @@ The Dwindle layout arranges windows as a binary tree of recursive splits. Each n | `dwindle_preserve_split` | `0` | Keep the sibling's split orientation when a window is closed. | | `dwindle_smart_resize` | `0` | When dragging to resize, move the split toward the cursor regardless of which side was grabbed. | | `dwindle_drop_simple_split` | `1` | Drag-to-tile drop preview. `1` = 2-zone preview matching `dwindle_split_ratio`, `0` = 4-quadrant preview. | +| `dwindle_manual_split` | `0` | Manually split windows mode. | ```ini # Example dwindle configuration