Compare commits

...

5 commits

View file

@ -306,13 +306,15 @@
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;
width = 2; width = 2;
inactive.color = "#80808080"; inactive.color = "#80808080";
}; };
center-focused-column = "on-overflow";
}; };
workspaces = { workspaces = {
w1.name = "admin"; w1.name = "admin";
@ -325,6 +327,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 = {
@ -337,11 +340,15 @@
} }
]; ];
prefer-no-csd = true; prefer-no-csd = true;
screenshot-path = "~/screenshots/%Y%m%d%H%m%N.png"; screenshot-path = "~/screenshots/%Y%m%d%H%M%S.png";
binds = with config.lib.niri.actions; { binds = with config.lib.niri.actions; {
"Mod+Space".action = spawn "alacritty"; "Mod+Space".action = spawn "alacritty";
"Mod+Shift+Space".action = spawn "alacritty" "-e" "sudo" "-i"; "Mod+Shift+Space".action = spawn "alacritty" "-e" "sudo" "-i";
"Mod+F1".action = spawn "anyrun"; "Mod+F1".action = spawn "anyrun";
"Mod+F2".action = spawn "flatpak" "run" "net.cozic.joplin_desktop";
"Mod+F3".action = spawn "flatpak" "run" "im.riot.Riot";
"Mod+F4".action = spawn "flatpak" "run" "io.github.spacingbat3.webcord";
"Mod+F5".action = spawn "flatpak" "run" "dev.aunetx.deezer";
"Mod+L".action = spawn "swaylock"; "Mod+L".action = spawn "swaylock";
"Mod+Shift+Q".action = close-window; "Mod+Shift+Q".action = close-window;
"Mod+A".action = focus-column-left; "Mod+A".action = focus-column-left;
@ -359,11 +366,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-column-width;
"Mod+Shift+W".action = set-window-height "-10%"; "Mod+X".action = switch-preset-window-height;
"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;