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];
programs.niri = {
settings = {
environment = {
"NIXOS_OZONE_WL" = "1";
"DISPLAY" = ":0";
"_JAVA_AWT_WM_NONREPARENTING" = "1"; # https://wiki.archlinux.org/title/Sway#Java_applications
input.keyboard.xkb = {
layout = "us";
options = "compose:ralt";
};
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 = [
{
@ -39,20 +49,10 @@ in {
}
];
input.keyboard.xkb = {
layout = "us";
options = "compose:ralt";
};
layout = {
focus-ring = {
enable = true;
active.color = "#${colors.base0E}";
};
center-focused-column = "always";
always-center-single-column = true;
};
environment = {
"NIXOS_OZONE_WL" = "1";
"DISPLAY" = ":0";
"_JAVA_AWT_WM_NONREPARENTING" = "1"; # https://wiki.archlinux.org/title/Sway#Java_applications
};
};