From ec4a4c2f24bde05ab8bf004ed4663007a848964b Mon Sep 17 00:00:00 2001 From: Myned Date: Wed, 1 Jan 2025 12:44:42 -0600 Subject: [PATCH] niri: add scroll wheel binds Signed-off-by: Myned --- options/custom/desktops/niri/binds.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/options/custom/desktops/niri/binds.nix b/options/custom/desktops/niri/binds.nix index 42175e4..4c95b6e 100644 --- a/options/custom/desktops/niri/binds.nix +++ b/options/custom/desktops/niri/binds.nix @@ -155,6 +155,14 @@ in { (key "V" "Mod+Ctrl" (spawn vm)) (key "W" "Mod" focus-window-or-workspace-up) (key "W" "Mod+Shift" move-window-up-or-to-workspace-up) + (key "WheelScrollDown" "Mod" focus-window-or-workspace-down) + (key "WheelScrollDown" "Mod+Shift" move-window-down-or-to-workspace-down) + (key "WheelScrollLeft" "Mod" focus-column-or-monitor-left) + (key "WheelScrollLeft" "Mod+Shift" move-column-left-or-to-monitor-left) + (key "WheelScrollRight" "Mod" focus-column-or-monitor-right) + (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)