Here is my script that supports scaling up if your main monitor is hidpi while the external one is not:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;rndstr&#x2F;dotfiles&#x2F;blob&#x2F;master&#x2F;bin&#x2F;monitor-hotplug" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rndstr&#x2F;dotfiles&#x2F;blob&#x2F;master&#x2F;bin&#x2F;monitor-h...</a>