aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/.Xresources10
-rw-r--r--x11/.xinitrc2
-rw-r--r--x11/.xprofile14
3 files changed, 26 insertions, 0 deletions
diff --git a/x11/.Xresources b/x11/.Xresources
new file mode 100644
index 0000000..e4c56af
--- /dev/null
+++ b/x11/.Xresources
@@ -0,0 +1,10 @@
+Xft.dpi: 192
+
+Xft.autohint: 0
+Xft.lcdfilter: lcddefault
+Xft.hintstyle: hintslight
+Xft.hinting: 1
+Xft.antialias: 1
+Xft.rgba: rgb
+
+Xcursor.size: 48
diff --git a/x11/.xinitrc b/x11/.xinitrc
new file mode 100644
index 0000000..53ef1fb
--- /dev/null
+++ b/x11/.xinitrc
@@ -0,0 +1,2 @@
+. ~/.xprofile
+exec i3
diff --git a/x11/.xprofile b/x11/.xprofile
new file mode 100644
index 0000000..176d4ad
--- /dev/null
+++ b/x11/.xprofile
@@ -0,0 +1,14 @@
+xrdb -merge ~/.Xresources
+
+xrandr --output eDP-1 --auto
+
+#export GDK_SCALE=2
+#export GDK_DPI_SCALE=0.5
+export GDK_DPI_SCALE=1
+
+export QT_AUTO_SCREEN_SCALE_FACTOR=1
+export QT_ENABLE_HIGHDPI_SCALING=1
+
+export _JAVA_OPTIONS='-Dsun.java2d.uiScale=2'
+
+picom --backend xrender --vsync --use-damage &