From 25533605d36fd46ce29555fb3eaf8cd23bf4d29f Mon Sep 17 00:00:00 2001 From: imxyy_soope_ Date: Thu, 12 Feb 2026 09:05:33 +0800 Subject: [PATCH] feat(niri): update config --- modules/desktop/wm/niri/config.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/modules/desktop/wm/niri/config.nix b/modules/desktop/wm/niri/config.nix index 32a2ceb..41ac2bd 100644 --- a/modules/desktop/wm/niri/config.nix +++ b/modules/desktop/wm/niri/config.nix @@ -21,7 +21,7 @@ in layout = { gaps = 23; - center-focused-column = "always"; + center-focused-column = "on-overflow"; always-center-single-column = true; focus-ring.enable = false; border = { @@ -50,6 +50,10 @@ in ]; default-column-width.proportion = 0.8; background-color = "transparent"; + tab-indicator = { + width = 10; + place-within-column = true; + }; }; animations = { @@ -158,12 +162,6 @@ in in with config.my.hm.lib.niri.actions; { - "Ctrl+Alt+T".action.spawn = [ - "kitty" - ]; - "Mod+T".action.spawn = [ - "kitty" - ]; "Mod+Return".action.spawn = [ "kitty" ]; @@ -278,6 +276,7 @@ in "Mod+C".action = center-column; "Mod+F".action = toggle-window-floating; "Mod+H".action = expand-column-to-available-width; + "Mod+T".action = toggle-column-tabbed-display; "Mod+Minus".action.set-column-width = "-10%"; "Mod+Equal".action.set-column-width = "+10%";