feat(niri): preset window heights and column width
This commit is contained in:
parent
af91148e18
commit
ba7c68e39e
1 changed files with 9 additions and 6 deletions
|
@ -306,7 +306,8 @@
|
||||||
layout = {
|
layout = {
|
||||||
gaps = 10;
|
gaps = 10;
|
||||||
default-column-width.proportion = 0.5;
|
default-column-width.proportion = 0.5;
|
||||||
preset-window-heights = [{ proportion = 1.0 / 2.0; }];
|
preset-column-widths = [ { proportion = 0.5; } { proportion = 0.9; } ];
|
||||||
|
preset-window-heights = [{ proportion = 0.5; }];
|
||||||
focus-ring.enable = false;
|
focus-ring.enable = false;
|
||||||
border = {
|
border = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -325,6 +326,7 @@
|
||||||
matches =
|
matches =
|
||||||
[{ app-id = "^(im\\.riot\\.Riot|WebCord|@joplin/app-desktop)$"; }];
|
[{ app-id = "^(im\\.riot\\.Riot|WebCord|@joplin/app-desktop)$"; }];
|
||||||
open-on-workspace = "apps";
|
open-on-workspace = "apps";
|
||||||
|
default-column-width.proportion = 0.9;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
geometry-corner-radius = {
|
geometry-corner-radius = {
|
||||||
|
@ -359,11 +361,12 @@
|
||||||
"Mod+Shift+WheelScrollDown".action = move-column-right;
|
"Mod+Shift+WheelScrollDown".action = move-column-right;
|
||||||
"Mod+Shift+WheelScrollUp".action = move-column-left;
|
"Mod+Shift+WheelScrollUp".action = move-column-left;
|
||||||
"Mod+Tab".action = focus-workspace-previous;
|
"Mod+Tab".action = focus-workspace-previous;
|
||||||
"Mod+F".action = maximize-column;
|
"Mod+Shift+W".action = maximize-column;
|
||||||
"Mod+W".action = set-column-width "-10%";
|
"Mod+Shift+X".action = reset-window-height;
|
||||||
"Mod+X".action = set-column-width "+10%";
|
"Mod+W".action = switch-preset-window-height;
|
||||||
"Mod+Shift+W".action = set-window-height "-10%";
|
"Mod+X".action = switch-preset-column-width;
|
||||||
"Mod+Shift+X".action = set-window-height "+10%";
|
"Mod+E".action = set-column-width "-10%";
|
||||||
|
"Mod+R".action = set-column-width "+10%";
|
||||||
"Print".action = screenshot-screen;
|
"Print".action = screenshot-screen;
|
||||||
"Shift+Print".action = screenshot;
|
"Shift+Print".action = screenshot;
|
||||||
"Alt+Print".action = screenshot-window;
|
"Alt+Print".action = screenshot-window;
|
||||||
|
|
Loading…
Reference in a new issue