From 2c2896ed5d22b899b6df7b301dccca039033c7ab Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Wed, 13 Oct 2021 13:31:00 +0200
Subject: 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.
---
.local/etc/x/xinitrc | 6 ++++--
1 file 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" &
--
cgit v1.1