mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 01:55:22 +08:00
modules.system.gui: set niri window layout
This commit is contained in:
@@ -76,6 +76,9 @@ inputs:
|
|||||||
"Mod+Ctrl+C".action.spawn = [ "sh" "-c" "${xsel} -ob | ${wl-copy}" ];
|
"Mod+Ctrl+C".action.spawn = [ "sh" "-c" "${xsel} -ob | ${wl-copy}" ];
|
||||||
"Mod+Ctrl+V".action.spawn = [ "sh" "-c" "${wl-paste} -n | ${xsel} -ib" ];
|
"Mod+Ctrl+V".action.spawn = [ "sh" "-c" "${wl-paste} -n | ${xsel} -ib" ];
|
||||||
"Mod+S".action.screenshot = {};
|
"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 =
|
outputs =
|
||||||
{
|
{
|
||||||
@@ -89,6 +92,11 @@ inputs:
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
input = { touchpad.dwt = true; keyboard.numlock = true; };
|
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; } ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
})];
|
})];
|
||||||
|
|||||||
Reference in New Issue
Block a user