mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 09:56:12 +01:00
monitor config
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# screenlayout setup for odin
|
||||
bash main.sh
|
||||
# bash main.sh
|
||||
|
||||
# start some nice programs
|
||||
# if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||
|
||||
@@ -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 = {
|
||||
@@ -33,19 +42,5 @@
|
||||
};
|
||||
};
|
||||
|
||||
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