dotfiles/.config/dwm/startxrandr.sh

17 lines
540 B
Bash
Raw Normal View History

2022-04-29 17:40:28 +02:00
#!/bin/bash
scan_rel=0
sleep 2
while [ ${scan_rel} -eq 0 ] ; do
2022-05-01 11:58:42 +02:00
# First monitor
2022-04-29 17:40:28 +02:00
xrandr --output DP-1 --mode 1920x1200 -r 59.95
2022-05-01 11:58:42 +02:00
# Second monitor
2022-04-29 17:40:28 +02:00
xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
#xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --scale 1.1x1.1 --rotate left --right-of DisplayPort-0
sleep 2
done
#sleep 2
#xrandr --output DisplayPort-0 --mode 1280x1024 -r 75.02
#xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0