modules.system.gui: set niri window layout

This commit is contained in:
2025-12-15 14:24:41 +08:00
parent 09dfc1e55c
commit 7c774115f8

View File

@@ -76,6 +76,9 @@ inputs:
"Mod+Ctrl+C".action.spawn = [ "sh" "-c" "${xsel} -ob | ${wl-copy}" ];
"Mod+Ctrl+V".action.spawn = [ "sh" "-c" "${wl-paste} -n | ${xsel} -ib" ];
"Mod+S".action.screenshot = {};
"Mod+F".action.set-column-width= "100%";
"Mod+R".action.switch-preset-column-width = {};
"Mod+T".action.expand-column-to-available-width = {};
};
outputs =
{
@@ -89,6 +92,11 @@ inputs:
};
};
input = { touchpad.dwt = true; keyboard.numlock = true; };
layout =
{
default-column-width.proportion = 0.5;
preset-column-widths = [ { proportion = 0.33333; } { proportion = 0.5; } { proportion = 0.66667; } ];
};
};
};
})];