2022-04-23 21:36:03 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
scan_rel=0
|
|
|
|
|
|
|
|
sleep 2
|
|
|
|
while [ ${scan_rel} -eq 0 ] ; do
|
2022-04-23 22:11:52 +02:00
|
|
|
# First monitor
|
2022-04-23 21:36:03 +02:00
|
|
|
xrandr --output DisplayPort-0 --mode 1920x1200 -r 59.95
|
2022-04-23 22:11:52 +02:00
|
|
|
# Second monitor
|
2022-04-23 21:36:03 +02:00
|
|
|
xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
|
|
|
|
sleep 2
|
|
|
|
done
|
|
|
|
#sleep 2
|
2022-04-23 22:11:52 +02:00
|
|
|
#xrandr --output DisplayPort-0 --mode 1920x1200 -r 59.95
|
2022-04-23 21:36:03 +02:00
|
|
|
#xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
|