1
1
Fork 0

niri: use relative resize instead of preset binds

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-01-02 12:00:25 -06:00
parent f3b9399b11
commit 1eb0b57351
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -163,8 +163,12 @@ in {
(key "WheelScrollRight" "Mod+Shift" move-column-right-or-to-monitor-right)
(key "WheelScrollUp" "Mod" focus-window-or-workspace-up)
(key "WheelScrollUp" "Mod+Shift" move-window-up-or-to-workspace-up)
(key "X" "Mod" switch-preset-column-width)
(key "Z" "Mod" switch-preset-window-height)
#// (key "X" "Mod" switch-preset-column-width)
(key "X" "Mod" (set-column-width "+10%"))
(key "X" "Mod+Shift" (set-window-height "+10%"))
#// (key "Z" "Mod" switch-preset-window-height)
(key "Z" "Mod" (set-column-width "-10%"))
(key "Z" "Mod+Shift" (set-window-height "-10%"))
# BUG: Release binds execute with all binds involving that modifier
# https://github.com/YaLTeR/niri/issues/605