feat(niri): commonize 2

This commit is contained in:
Ahurac 2024-10-15 09:51:07 +02:00
parent 0560adc22a
commit 6dc649642d
2 changed files with 39 additions and 35 deletions

View file

@ -43,8 +43,7 @@
}; };
}; };
programs.niri = { programs.niri.settings = {
settings = {
input = { input = {
keyboard.xkb.layout = "fr"; keyboard.xkb.layout = "fr";
touchpad = { touchpad = {
@ -53,7 +52,7 @@
accel-profile = "flat"; accel-profile = "flat";
}; };
}; };
outputs."eDP-1" = { scale = 1; }; outputs."eDP-1".scale = 1;
layout.border.active.color = "#35f835e5"; layout.border.active.color = "#35f835e5";
binds = with config.lib.niri.actions; { binds = with config.lib.niri.actions; {
"XF86AudioRaiseVolume" = { "XF86AudioRaiseVolume" = {
@ -81,5 +80,4 @@
"XF86Display".action = power-off-monitors; "XF86Display".action = power-off-monitors;
}; };
}; };
};
} }

View file

@ -28,4 +28,10 @@
misc.animate_manual_resizes = true; misc.animate_manual_resizes = true;
}; };
}; };
programs.niri.settings = {
input.keyboard.xkb.layout = "us";
outputs."HDMI-1".scale = 1;
layout.border.active.color = "#d966ff";
};
} }