aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2021-10-13 13:31:00 +0200
committerPatrick Spek <p.spek@tyil.nl>2021-10-13 13:31:00 +0200
commit2c2896ed5d22b899b6df7b301dccca039033c7ab (patch)
tree858fff8dcfde42251f67acd3e603b1ef15d490b8
parent8aad18447c6b0a03c4cbff889052e53449d36e8b (diff)
Disable scaling in X
Everytime this issue is reported the devs of alacritty just keep repeating that their value is correct, but it really isn't in X.
-rw-r--r--.local/etc/x/xinitrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/.local/etc/x/xinitrc b/.local/etc/x/xinitrc
index f3da549..df3590f 100644
--- a/.local/etc/x/xinitrc
+++ b/.local/etc/x/xinitrc
@@ -7,6 +7,9 @@ export GNOME_KEYRING_PID
export GNOME_KEYRING_SOCKET
export SSH_AUTH_SOCK
+# Export additional environment vars
+export WINIT_X11_SCALE_FACTOR=1
+
# extend the fontpath
xset +fp ~/.fonts/Terminus/BDF
#xset +fp /usr/share/fonts/local
@@ -47,10 +50,9 @@ xset -dpms
redshift -l 51.50:4.59 &
dunst &
sxhkd &
-xblank &
# Set up a screenlock
-xss-lock -- physlock -d &
+#xss-lock -- physlock -d &
# Start x11vnc
x11vnc -display "$DISPLAY" &