]> git.rmz.io Git - dotfiles.git/blobdiff - xinit/xprofile.d/00-xrandr.sh
xinit: support 4k monitors on skull-canyon
[dotfiles.git] / xinit / xprofile.d / 00-xrandr.sh
diff --git a/xinit/xprofile.d/00-xrandr.sh b/xinit/xprofile.d/00-xrandr.sh
new file mode 100755 (executable)
index 0000000..a4787ae
--- /dev/null
@@ -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