dotfiles/.config/spectrwm/startxrandr.sh

16 lines
424 B
Bash
Raw Normal View History

2021-11-20 12:18:57 +01:00
#!/bin/bash
scan_rel=0
2021-11-20 12:52:59 +01:00
sleep 2
2021-11-20 12:18:57 +01:00
while [ ${scan_rel} -eq 0 ] ; do
# Primer monitor
2021-11-20 12:52:59 +01:00
xrandr --output DisplayPort-0 --mode 1280x1024 -r 75.02
2021-11-20 12:18:57 +01:00
# Segundo monitor
2021-11-20 12:52:59 +01:00
xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
2021-11-23 21:36:28 +01:00
sleep 2
2021-11-20 12:18:57 +01:00
done
2021-11-20 12:52:59 +01:00
2021-11-20 12:18:57 +01:00
#xrandr --output Virtual1 --mode 1280x1024 -r 60.00
#xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0