Scaling instead of setting wqhd.

This commit is contained in:
Bartek Stalewski 2021-09-02 16:42:27 +02:00
parent 0178a6a766
commit d3e5dd977b

View file

@ -27,7 +27,8 @@ twoscreen() {
} }
home() { home() {
xrandr --output "DisplayPort-${1}" --mode 2560x1440 --scale 1.0x1.0 $(echo "$allposs" | grep -v "\bDisplayPort-${1}" | awk '{print "--output", $1, "--off"}' | paste -sd ' ' -) xrandr --output "DisplayPort-${1}" --auto --scale 0.75x0.75 $(echo "$allposs" | grep -v "\bDisplayPort-${1}" | awk '{print "--output", $1, "--off"}' | paste -sd ' ' -)
echo xrandr --output "DisplayPort-${1}" --mode 2560x1440 --scale 1.0x1.0 $(echo "$allposs" | grep -v "\bDisplayPort-${1}" | awk '{print "--output", $1, "--off"}' | paste -sd ' ' -)
} }
onescreen() { onescreen() {