This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "setting frame buffer" && | |
xrandr --fb 12800x2880 && | |
echo "setting laptop monitor" && | |
xrandr --output eDP-1-1 --mode 3840x2160 --rate 60 --primary&& | |
echo "setting 27 inch monitor" && | |
xrandr --output DP-0.2 --mode 2560x1440 --scale-from 5120x2880 --panning 5120x2880+3840+0 --right-of eDP-1-1 && | |
echo "setting the samsung monitor" && | |
xrandr --output DP-0.1 --mode 1920x1080 --scale-from 3840x2160 --panning 3840x2160+8960+0 --right-of DP-0.2&& | |
echo "setting global scaling to 2x" && |