configure niri
This commit is contained in:
parent
36d90ef1a2
commit
c6b9e6b09c
1 changed files with 28 additions and 0 deletions
|
@ -12,6 +12,11 @@ in
|
||||||
|
|
||||||
binds = {
|
binds = {
|
||||||
|
|
||||||
|
"Mod+H".action.focus-column-or-monitor-left = { };
|
||||||
|
"Mod+J".action.focus-window-or-monitor-down = { };
|
||||||
|
"Mod+K".action.focus-window-or-monitor-up = { };
|
||||||
|
"Mod+L".action.focus-column-or-monitor-right = { };
|
||||||
|
|
||||||
"Mod+Q".action.spawn = [ "kitty" ];
|
"Mod+Q".action.spawn = [ "kitty" ];
|
||||||
"Mod+C".action.close-window = { };
|
"Mod+C".action.close-window = { };
|
||||||
"Mod+M".action.quit = { };
|
"Mod+M".action.quit = { };
|
||||||
|
@ -28,8 +33,31 @@ in
|
||||||
"XF86AudioNext".action.spawn = [ "playerctl" "next" ];
|
"XF86AudioNext".action.spawn = [ "playerctl" "next" ];
|
||||||
"XF86MonBrightnessDown".action.spawn = [ "sh" "-c" "${SCRIPTS}/brightness.sh -4800" ];
|
"XF86MonBrightnessDown".action.spawn = [ "sh" "-c" "${SCRIPTS}/brightness.sh -4800" ];
|
||||||
"XF86MonBrightnessUp".action.spawn = [ "sh" "-c" "${SCRIPTS}/brightness.sh 4800" ];
|
"XF86MonBrightnessUp".action.spawn = [ "sh" "-c" "${SCRIPTS}/brightness.sh 4800" ];
|
||||||
|
"Print".action.screenshot = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hotkey-overlay.skip-at-startup = true;
|
||||||
|
prefer-no-csd = true;
|
||||||
|
|
||||||
|
input = {
|
||||||
|
keyboard.xkb = {
|
||||||
|
layout = "us(euro)";
|
||||||
|
options = "compose:menu";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
window-rules = [
|
||||||
|
{
|
||||||
|
geometry-corner-radius = {
|
||||||
|
top-right = 12.0;
|
||||||
|
top-left = 12.0;
|
||||||
|
bottom-right = 12.0;
|
||||||
|
bottom-left = 12.0;
|
||||||
|
};
|
||||||
|
clip-to-geometry = true;
|
||||||
|
|
||||||
|
open-maximized = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue