1
1
Fork 0

niri: modify window size binds

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-01-04 12:15:50 -06:00
parent 2be4c7cfbd
commit 9500a28485
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -163,11 +163,13 @@ in {
(key "WheelScrollRight" "Mod+Shift" move-column-right-or-to-monitor-right) (key "WheelScrollRight" "Mod+Shift" move-column-right-or-to-monitor-right)
(key "WheelScrollUp" "Mod" focus-window-or-workspace-up) (key "WheelScrollUp" "Mod" focus-window-or-workspace-up)
(key "WheelScrollUp" "Mod+Shift" move-window-up-or-to-workspace-up) (key "WheelScrollUp" "Mod+Shift" move-window-up-or-to-workspace-up)
#// (key "X" "Mod" switch-preset-column-width)
(key "X" "Mod" (set-column-width "+10%")) (key "X" "Mod" (set-column-width "+10%"))
(key "X" "Mod+Ctrl" (set-column-width "100%"))
(key "X" "Mod+Ctrl+Shift" (set-window-height "100%"))
(key "X" "Mod+Shift" (set-window-height "+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" (set-column-width "-10%"))
(key "Z" "Mod+Ctrl" (set-column-width "30%"))
(key "Z" "Mod+Ctrl+Shift" (set-window-height "30%"))
(key "Z" "Mod+Shift" (set-window-height "-10%")) (key "Z" "Mod+Shift" (set-window-height "-10%"))
# BUG: Release binds execute with all binds involving that modifier # BUG: Release binds execute with all binds involving that modifier