From: Samir Benmendil Date: Sun, 24 Nov 2019 15:52:33 +0000 (+0000) Subject: xinit: support 4k monitors on skull-canyon X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/115cebf951e9d1b41571084f28feb6392703fc50 xinit: support 4k monitors on skull-canyon --- diff --git a/xinit/xprofile.d/00-xrandr.sh b/xinit/xprofile.d/00-xrandr.sh new file mode 100755 index 0000000..a4787ae --- /dev/null +++ b/xinit/xprofile.d/00-xrandr.sh @@ -0,0 +1,5 @@ +if [[ $(hostname) == "skull-canyon" ]]; then + xrandr --output DP1 --auto --primary --output DP3 --auto --right-of DP1 + xrandr --dpi 162 + export QT_AUTO_SCREEN_SCALE_FACTOR=1 +fi