dotfiles/.config/spectrwm/startxrandr.sh
2021-11-23 21:36:28 +01:00

16 lines
424 B
Bash
Executable File

#!/bin/bash
scan_rel=0
sleep 2
while [ ${scan_rel} -eq 0 ] ; do
# Primer monitor
xrandr --output DisplayPort-0 --mode 1280x1024 -r 75.02
# Segundo monitor
xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
sleep 2
done
#xrandr --output Virtual1 --mode 1280x1024 -r 60.00
#xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0