summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2025-09-07 18:06:16 +0200
committerChristoph Schlosser <christoph@linux.com>2025-09-07 18:06:16 +0200
commit074062aadd29db45057fb964b943e3e00fcb0b12 (patch)
treedf69e207755c2ea40d575593f9047eb10625ee46
parent5f0dbecd2a4993feb183892fe941ee5114b38ae7 (diff)
downloaddots-074062aadd29db45057fb964b943e3e00fcb0b12.tar.gz
Add .xinitrc
-rw-r--r--dot.xinitrc18
1 files changed, 18 insertions, 0 deletions
diff --git a/dot.xinitrc b/dot.xinitrc
new file mode 100644
index 0000000..e40d041
--- /dev/null
+++ b/dot.xinitrc
@@ -0,0 +1,18 @@
+export TERMINAL=kitty
+# Some have success with these instead:
+#export GDK_DPI_SCALE=1.5
+#export QT_SCALE_FACTOR=1.5
+
+# This leads to a blurry display.
+#xrandr --output eDP --scale 0.666 --dpi 256
+xrandr --output eDP --scale 1 --dpi 192
+
+# Xresources isn't integrated by default.
+# Have to check why.
+xrdb -merge ~/.Xresources
+
+# Polybar doesn't pick up the one from Xresources.
+xsetroot -cursor_name left_ptr
+
+. ~/.profile
+exec herbstluftwm --locked