From 18ce8c17188593d472a5dd26ed45ca7a3802286c Mon Sep 17 00:00:00 2001 From: Gil Portenseigne Date: Fri, 11 Sep 2026 10:10:48 +0200 Subject: [PATCH] Configs niri --- .config/niri/config.kdl | 60 +++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 32 deletions(-) diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl index c53e2e1..2b7ea38 100644 --- a/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -345,7 +345,7 @@ window-rule { // Example: enable rounded corners for all windows. // (This example rule is commented out with a "/-" in front.) -/-window-rule { +window-rule { geometry-corner-radius 12 clip-to-geometry true } @@ -367,7 +367,7 @@ binds { // Suggested binds for running programs: terminal, app launcher, screen locker. Mod+T hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; } - Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } + Mod+D hotkey-overlay-title="Run an Application:" { spawn-sh "noctalia msg panel-toggle launcher"; } Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } // Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc. @@ -410,8 +410,6 @@ binds { Mod+Up { focus-window-up; } Mod+Right { focus-column-right; } Mod+H { focus-column-left; } - Mod+J { focus-window-down; } - Mod+K { focus-window-up; } Mod+L { focus-column-right; } Mod+Ctrl+Left { move-column-left; } @@ -419,16 +417,14 @@ binds { Mod+Ctrl+Up { move-window-up; } Mod+Ctrl+Right { move-column-right; } Mod+Ctrl+H { move-column-left; } - Mod+Ctrl+J { move-window-down; } - Mod+Ctrl+K { move-window-up; } Mod+Ctrl+L { move-column-right; } // Alternative commands that move across workspaces when reaching // the first or last window in a column. - // Mod+J { focus-window-or-workspace-down; } - // Mod+K { focus-window-or-workspace-up; } - // Mod+Ctrl+J { move-window-down-or-to-workspace-down; } - // Mod+Ctrl+K { move-window-up-or-to-workspace-up; } + Mod+J { focus-window-or-workspace-down; } + Mod+K { focus-window-or-workspace-up; } + Mod+Ctrl+J { move-window-down-or-to-workspace-down; } + Mod+Ctrl+K { move-window-up-or-to-workspace-up; } Mod+Home { focus-column-first; } Mod+End { focus-column-last; } @@ -519,24 +515,24 @@ binds { // // For example, with 2 workspaces + 1 empty, indices 3, 4, 5 and so on // will all refer to the 3rd workspace. - Mod+1 { focus-workspace 1; } - Mod+2 { focus-workspace 2; } - Mod+3 { focus-workspace 3; } - Mod+4 { focus-workspace 4; } - Mod+5 { focus-workspace 5; } - Mod+6 { focus-workspace 6; } - Mod+7 { focus-workspace 7; } - Mod+8 { focus-workspace 8; } - Mod+9 { focus-workspace 9; } - Mod+Ctrl+1 { move-column-to-workspace 1; } - Mod+Ctrl+2 { move-column-to-workspace 2; } - Mod+Ctrl+3 { move-column-to-workspace 3; } - Mod+Ctrl+4 { move-column-to-workspace 4; } - Mod+Ctrl+5 { move-column-to-workspace 5; } - Mod+Ctrl+6 { move-column-to-workspace 6; } - Mod+Ctrl+7 { move-column-to-workspace 7; } - Mod+Ctrl+8 { move-column-to-workspace 8; } - Mod+Ctrl+9 { move-column-to-workspace 9; } + Mod+ampersand { focus-workspace 1; } + Mod+eacute { focus-workspace 2; } + Mod+quotedbl { focus-workspace 3; } + Mod+apostrophe { focus-workspace 4; } + Mod+parenleft { focus-workspace 5; } + Mod+minus { focus-workspace 6; } + Mod+egrave { focus-workspace 7; } + Mod+underscore { focus-workspace 8; } + Mod+ccedilla { focus-workspace 9; } + Mod+Ctrl+ampersand { move-column-to-workspace 1; } + Mod+Ctrl+eacute { move-column-to-workspace 2; } + Mod+Ctrl+quotedbl { move-column-to-workspace 3; } + Mod+Ctrl+apostrophe { move-column-to-workspace 4; } + Mod+Ctrl+parenleft { move-column-to-workspace 5; } + Mod+Ctrl+minus { move-column-to-workspace 6; } + Mod+Ctrl+egrave { move-column-to-workspace 7; } + Mod+Ctrl+underscore { move-column-to-workspace 8; } + Mod+Ctrl+ccedilla { move-column-to-workspace 9; } // Alternatively, there are commands to move just a single window: // Mod+Ctrl+1 { move-window-to-workspace 1; } @@ -589,12 +585,12 @@ binds { // * adjust width as a percentage of screen width: "-10%" or "+10%" // Pixel sizes use logical, or scaled, pixels. I.e. on an output with scale 2.0, // set-column-width "100" will make the column occupy 200 physical screen pixels. - Mod+Minus { set-column-width "-10%"; } - Mod+Equal { set-column-width "+10%"; } + //Mod+Minus { set-column-width "-10%"; } + //Mod+Equal { set-column-width "+10%"; } // Finer height adjustments when in column with other windows. - Mod+Shift+Minus { set-window-height "-10%"; } - Mod+Shift+Equal { set-window-height "+10%"; } + //Mod+Shift+Minus { set-window-height "-10%"; } + //Mod+Shift+Equal { set-window-height "+10%"; } // Move the focused window between the floating and the tiling layout. Mod+V { toggle-window-floating; }