From a8f3a8e3c4dc573a861906229ec21ba61c290476 Mon Sep 17 00:00:00 2001 From: Nick Date: Mon, 12 May 2025 15:37:31 -0500 Subject: [PATCH] feat: added column size toggle --- modules/home/gui/desktop/niri/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/home/gui/desktop/niri/default.nix b/modules/home/gui/desktop/niri/default.nix index 03ad4b6..e26fa88 100755 --- a/modules/home/gui/desktop/niri/default.nix +++ b/modules/home/gui/desktop/niri/default.nix @@ -149,6 +149,8 @@ in # "Ctrl+Alt+5".action = niri.move-window-to-workspace workspace4; # "Super+Enter".action = niri.toggle-overview; + "Super+w".action = niri.switch-preset-column-width; + "Super+1".action = niri.focus-workspace workspace0; "Super+4".action = niri.focus-workspace workspace1; "Super+3".action = niri.focus-workspace workspace2; @@ -314,14 +316,14 @@ in ]; layout = { - # always-center-single-column = true; default-column-width = { - proportion = 0.5; + proportion = 1.; }; preset-column-widths = [ { proportion = 1. / 3.; } { proportion = 1. / 2.; } { proportion = 2. / 3.; } + { proportion = 1.; } ]; border = { enable = true;