From 08b77d10630d2d6f89d4922a4be7c0132b16c783 Mon Sep 17 00:00:00 2001 From: jmug Date: Sun, 29 Nov 2026 06:52:37 -0800 Subject: [PATCH] fix(niri): Mouse thumb buttons move columns. --- home-modules/niri/config.kdl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/home-modules/niri/config.kdl b/home-modules/niri/config.kdl index 81a02e3..8c60aad 100644 --- a/home-modules/niri/config.kdl +++ b/home-modules/niri/config.kdl @@ -156,6 +156,8 @@ binds { Mod+W repeat=false { close-window; } Mod+Q repeat=false { close-window; } + // Mod+Left/Right also serve the MX Master 3's thumb buttons (logid): + // keyd rewrites Meta+arrows to Home/End on real keyboards. Mod+Left { focus-column-left; } Mod+Down { focus-window-down; } Mod+Up { focus-window-up; } @@ -164,6 +166,9 @@ binds { Mod+J { focus-window-down; } Mod+K { focus-window-up; } Mod+L { focus-column-right; } + // Also the MX Master thumb buttons (logid). + Mod+Page_Down { focus-column-right; } + Mod+Page_Up { focus-column-left; } Mod+Ctrl+Left { move-column-left; } Mod+Ctrl+Down { move-window-down; } @@ -197,9 +202,6 @@ binds { Mod+Shift+Ctrl+K { move-column-to-monitor-up; } Mod+Shift+Ctrl+L { move-column-to-monitor-right; } - // Mod+Page_Up/Down are also the MX Master thumb buttons (logid.cfg). - Mod+Page_Down { focus-workspace-down; } - Mod+Page_Up { focus-workspace-up; } Mod+U { focus-workspace-down; } Mod+I { focus-workspace-up; } Mod+Ctrl+Page_Down { move-column-to-workspace-down; }