40 lines
914 B
Nix
40 lines
914 B
Nix
{pkgs, ...}: {
|
|
programs.niri.settings = {
|
|
input = {
|
|
keyboard = {
|
|
xkb = {
|
|
layout = "cz";
|
|
};
|
|
};
|
|
};
|
|
|
|
layout = {
|
|
gaps = 8;
|
|
preset-column-widths = [
|
|
{proportion = 0.33333;}
|
|
{proportion = 0.5;}
|
|
{proportion = 0.66667;}
|
|
{proportion = 1.0;}
|
|
];
|
|
};
|
|
|
|
prefer-no-csd = true;
|
|
|
|
binds = {
|
|
"Mod+Q".action.close-window = [];
|
|
"Mod+Return".action.spawn = ["kitty"];
|
|
"Mod+A".action.spawn = ["rofi" "-show" "drun"];
|
|
|
|
"Mod+H".action.focus-column-left = [];
|
|
"Mod+L".action.focus-column-right = [];
|
|
"Mod+J".action.focus-window-down = [];
|
|
"Mod+K".action.focus-window-up = [];
|
|
|
|
"Mod+Minus".action.set-column-width = ["-10%"];
|
|
"Mod+Equal".action.set-column-width = ["+10%"];
|
|
|
|
"Mod+Shift+E".action.quit = [];
|
|
"Mod+Shift+R".action.reload-config = [];
|
|
};
|
|
};
|
|
}
|