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
|
|
@ -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;
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue