mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
Monitor output is changing names
This commit is contained in:
parent
feed3ae0de
commit
16d14bd764
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ in {
|
||||||
services.xserver.displayManager.sessionCommands = lib.mkBefore ''
|
services.xserver.displayManager.sessionCommands = lib.mkBefore ''
|
||||||
if ! [ -e "/etc/Xorg/ONE_MONITOR" ] ; then
|
if ! [ -e "/etc/Xorg/ONE_MONITOR" ] ; then
|
||||||
xrandr --output DP-0 --auto --mode 3440x1440 --rate 120 --primary --pos 0x0
|
xrandr --output DP-0 --auto --mode 3440x1440 --rate 120 --primary --pos 0x0
|
||||||
xrandr --output HDMI-A-1-0 --auto --mode 1920x1080 --rate 144 --set TearFree on --pos 3440x360
|
xrandr --output "$(xrandr | grep -e 'HDMI.* connected.*'| awk '{ print$1 }')" --auto --mode 1920x1080 --rate 144 --set TearFree on --pos 3440x360
|
||||||
xset -dpms
|
xset -dpms
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue