mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
refactor(niri): base niri.outputs on config.monitors
This commit is contained in:
parent
ba100b98ba
commit
1bed4d5d9f
10 changed files with 133 additions and 119 deletions
|
|
@ -1,22 +1,40 @@
|
|||
_: {
|
||||
monitors = [
|
||||
{
|
||||
name = "DP-3";
|
||||
resolution = "2560x1440";
|
||||
name = "DP-1";
|
||||
resolution = {
|
||||
width = 2560;
|
||||
height = 1440;
|
||||
};
|
||||
refreshRate = 144;
|
||||
position = "1920x0";
|
||||
position = {
|
||||
x = 1920;
|
||||
y = 0;
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "DP-1";
|
||||
resolution = "2560x1440";
|
||||
name = "DP-3";
|
||||
resolution = {
|
||||
width = 2560;
|
||||
height = 1440;
|
||||
};
|
||||
refreshRate = 144;
|
||||
position = "4480x0";
|
||||
position = {
|
||||
x = 4480;
|
||||
y = 0;
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "HDMI-A-1";
|
||||
resolution = "1920x1080";
|
||||
resolution = {
|
||||
width = 1920;
|
||||
height = 1080;
|
||||
};
|
||||
refreshRate = 60;
|
||||
position = "0x0";
|
||||
position = {
|
||||
x = 0;
|
||||
y = 0;
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue