refactor(niri): base niri.outputs on config.monitors

This commit is contained in:
Nickolaj Jepsen 2025-08-23 18:42:54 +02:00
parent ba100b98ba
commit 1bed4d5d9f
10 changed files with 133 additions and 119 deletions

View file

@ -2,18 +2,36 @@ _: {
monitors = [
{
name = "DP-5";
resolution = "1920x1200";
position = "1920x0";
resolution = {
width = 1920;
height = 1200;
};
position = {
x = 1920;
y = 0;
};
}
{
name = "HDMI-A-5";
resolution = "1920x1080";
position = "0x0";
resolution = {
width = 1920;
height = 1080;
};
position = {
x = 0;
y = 0;
};
}
{
name = "DP-4";
resolution = "1920x1200";
position = "3840x0";
resolution = {
width = 1920;
height = 1200;
};
position = {
x = 3840;
y = 0;
};
transform = 1;
}
];