mirror of
https://github.com/nmasur/dotfiles
synced 2025-01-30 16:22:03 +00:00
fix: desktop won't launch if xrandr fails
This commit is contained in:
parent
2b36140fbf
commit
c66ca460c0
@ -37,17 +37,16 @@
|
|||||||
# Set up screen position and rotation
|
# Set up screen position and rotation
|
||||||
setupCommands = ''
|
setupCommands = ''
|
||||||
${pkgs.xorg.xrandr}/bin/xrandr --output DisplayPort-1 \
|
${pkgs.xorg.xrandr}/bin/xrandr --output DisplayPort-1 \
|
||||||
--mode 1920x1200 \
|
|
||||||
--pos 2560x0 \
|
|
||||||
--rotate left \
|
|
||||||
--output DisplayPort-0 \
|
|
||||||
--primary \
|
--primary \
|
||||||
--mode 2560x1440 \
|
|
||||||
--pos 0x560 \
|
|
||||||
--rotate normal \
|
--rotate normal \
|
||||||
--rate 120 \
|
--mode 2560x1440 \
|
||||||
|
--rate 165 \
|
||||||
|
--output DisplayPort-2 \
|
||||||
|
--right-of DisplayPort-1 \
|
||||||
|
--rotate left \
|
||||||
--output DVI-0 --off \
|
--output DVI-0 --off \
|
||||||
--output DVI-1 --off \
|
--output DVI-1 --off \
|
||||||
|
|| echo "xrandr failed"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user