home/programs/niri: skip hotkeys overlay at startup

This commit is contained in:
Anthony Rodriguez 2024-10-08 13:54:32 +02:00
parent 786cdbf979
commit 25993d2754
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -10,13 +10,23 @@ in {
imports = [./binds.nix]; imports = [./binds.nix];
programs.niri = { programs.niri = {
settings = { settings = {
environment = { input.keyboard.xkb = {
"NIXOS_OZONE_WL" = "1"; layout = "us";
"DISPLAY" = ":0"; options = "compose:ralt";
"_JAVA_AWT_WM_NONREPARENTING" = "1"; # https://wiki.archlinux.org/title/Sway#Java_applications
}; };
prefer-no-csd = true; prefer-no-csd = true;
hotkey-overlay.skip-at-startup = true;
layout = {
focus-ring = {
enable = true;
active.color = "#${colors.base0E}";
};
center-focused-column = "always";
always-center-single-column = true;
};
};
window-rules = [ window-rules = [
{ {
@ -39,20 +49,10 @@ in {
} }
]; ];
input.keyboard.xkb = { environment = {
layout = "us"; "NIXOS_OZONE_WL" = "1";
options = "compose:ralt"; "DISPLAY" = ":0";
}; "_JAVA_AWT_WM_NONREPARENTING" = "1"; # https://wiki.archlinux.org/title/Sway#Java_applications
layout = {
focus-ring = {
enable = true;
active.color = "#${colors.base0E}";
};
center-focused-column = "always";
always-center-single-column = true;
};
}; };
}; };