monitor.sh 469 B

123456
  1. #!/bin/sh
  2. xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
  3. xrandr --addmode "DisplayPort-0" "1920x1080_60.00"
  4. xrandr --addmode "DisplayPort-1" "1920x1080_60.00"
  5. xrandr --output HDMI-A-0 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output DisplayPort-0 --mode 1920x1080_60.00 --pos 0x0 --rotate normal --output DisplayPort-1 --mode 1920x1080_60.00 --pos 3840x0 --rotate normal --output DisplayPort-2 --off