Compare commits

..

5 commits

View file

@ -306,13 +306,15 @@
layout = {
gaps = 10;
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;
border = {
enable = true;
width = 2;
inactive.color = "#80808080";
};
center-focused-column = "on-overflow";
};
workspaces = {
w1.name = "admin";
@ -325,6 +327,7 @@
matches =
[{ app-id = "^(im\\.riot\\.Riot|WebCord|@joplin/app-desktop)$"; }];
open-on-workspace = "apps";
default-column-width.proportion = 0.9;
}
{
geometry-corner-radius = {
@ -337,11 +340,15 @@
}
];
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; {
"Mod+Space".action = spawn "alacritty";
"Mod+Shift+Space".action = spawn "alacritty" "-e" "sudo" "-i";
"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+Shift+Q".action = close-window;
"Mod+A".action = focus-column-left;
@ -359,11 +366,12 @@
"Mod+Shift+WheelScrollDown".action = move-column-right;
"Mod+Shift+WheelScrollUp".action = move-column-left;
"Mod+Tab".action = focus-workspace-previous;
"Mod+F".action = maximize-column;
"Mod+W".action = set-column-width "-10%";
"Mod+X".action = set-column-width "+10%";
"Mod+Shift+W".action = set-window-height "-10%";
"Mod+Shift+X".action = set-window-height "+10%";
"Mod+Shift+W".action = maximize-column;
"Mod+Shift+X".action = reset-window-height;
"Mod+W".action = switch-preset-column-width;
"Mod+X".action = switch-preset-window-height;
"Mod+E".action = set-column-width "-10%";
"Mod+R".action = set-column-width "+10%";
"Print".action = screenshot-screen;
"Shift+Print".action = screenshot;
"Alt+Print".action = screenshot-window;