feat: added column size toggle

This commit is contained in:
Nick 2025-05-12 15:37:31 -05:00
parent 116b531180
commit a8f3a8e3c4

View file

@ -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;