mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 12:36:13 +01:00
monitor config
This commit is contained in:
@@ -19,6 +19,15 @@
|
||||
startx = {
|
||||
enable = true;
|
||||
};
|
||||
setupCommands = ''
|
||||
LEFT='HDMI-0'
|
||||
CENTER='DP-2'
|
||||
RIGHT='DP-0'
|
||||
${pkgs.xorg.xrandr}/bin/xrandr \
|
||||
--output $LEFT --mode 1920x1080 --rate 60.00 --pos 0x360 \
|
||||
--output $CENTER --primary --mode 2560x1440 --rate 74.92 --pos 1920x0 \
|
||||
--output $RIGHT --mode 2560x1440 --rate 74.92 --pos 4480x0
|
||||
'';
|
||||
};
|
||||
|
||||
windowManager = {
|
||||
@@ -32,20 +41,6 @@
|
||||
enable = false;
|
||||
};
|
||||
};
|
||||
|
||||
xrandrHeads = [
|
||||
{
|
||||
output = "HDMI-0";
|
||||
}
|
||||
{
|
||||
output = "DP-2";
|
||||
primary = true;
|
||||
rate = "74.92";
|
||||
}
|
||||
{
|
||||
output = "DP-0";
|
||||
rate = "74.92";
|
||||
}
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user