[Hyprland] Add new bind layout
This commit is contained in:
40
config/hypr/hyprland/modal-binds/window-management.conf
Normal file
40
config/hypr/hyprland/modal-binds/window-management.conf
Normal file
@@ -0,0 +1,40 @@
|
||||
# ────────────────────────────────────────────────────────────────────
|
||||
# ╭────────────────────────────────────────────────╮
|
||||
# │ Window management submap │
|
||||
# ╰────────────────────────────────────────────────╯
|
||||
bind = $mainMod, Q, killactive
|
||||
|
||||
# ── Resize, move using mouse plus mainMod ───────────────────────────
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
|
||||
# ── Submap ──────────────────────────────────────────────────────────
|
||||
bind = $mainMod, W, submap, windowing
|
||||
submap = windowing
|
||||
|
||||
# ── Resize windows ──────────────────────────────────────────────────
|
||||
binde = , L, resizeactive, 10 0
|
||||
binde = , H, resizeactive, -10 0
|
||||
binde = , K, resizeactive, 0 -10
|
||||
binde = , J, resizeactive, 0 10
|
||||
|
||||
|
||||
# ── Change splitratio ───────────────────────────────────────────────
|
||||
binde = SHIFT, H, splitratio, -0.01
|
||||
binde = SHIFT, L, splitratio, +0.01
|
||||
|
||||
|
||||
# ── Kill, freeze, etc ───────────────────────────────────────────────
|
||||
bind = SHIFT, f, exec, hyprfreeze -a
|
||||
bind = , x, killactive
|
||||
bind = , q, killactive
|
||||
bind = , f, fullscreen
|
||||
bind = , v, togglefloating
|
||||
bind = SHIFT, k, exec, notify-send 'Insta-Kill activated' --app-name="Hyprctl" && hyprctl kill
|
||||
|
||||
|
||||
# ── Exit submap ─────────────────────────────────────────────────────
|
||||
bind = , escape, submap, reset
|
||||
submap = reset
|
||||
# ────────────────────────────────────────────────────────────────────
|
||||
Reference in New Issue
Block a user