Created
March 11, 2020 21:45
-
-
Save jdf-id-au/82c689dc33524f3a47c378b9a5850ec7 to your computer and use it in GitHub Desktop.
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/zsh | |
# For 1200x1900 lowdpi (portrait) monitor to right of xps15 9550 laptop 3840x2160 282dpi | |
# https://blog.summercat.com/configuring-mixed-dpi-monitors-with-xrandr.html | |
# requires `prime-select nvidia` and reboot! | |
# stupid HDMI-1 doesn't seem to respect scale with intel video | |
# xrandr --query | |
# 3840+(2*1080) x (2*1920) = 6000x3840 | |
xrandr --fb 6000x3840 \ | |
--output eDP-1-1 --scale 1x1 --primary \ | |
--output HDMI-1-1 --scale 2x2 --rotate left --right-of eDP-1-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment