]> git.rmz.io Git - dotfiles.git/commitdiff
xinit: support 4k monitors on skull-canyon
authorSamir Benmendil <me@rmz.io>
Sun, 24 Nov 2019 15:52:33 +0000 (15:52 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 24 Nov 2019 15:52:59 +0000 (15:52 +0000)
xinit/xprofile.d/00-xrandr.sh [new file with mode: 0755]

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