exports: update for WSLG/Windows 11

This commit is contained in:
Alexandra Dunn 2021-09-11 22:11:25 -07:00
parent 9e186aa167
commit fb5fddb103

View file

@ -13,10 +13,8 @@ if [[ ! -f "$HOME/.config/season" ]]; then
fi
if [ "$WSL_DISTRO_NAME" ]; then
DISPLAY="$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0"
export DISPLAY
# export DISPLAY=localhost:0.0
export LIBGL_ALWAYS_INDIRECT=1
export GDK_SCALE=2
export QT_SCALE_FACTOR=2
fi
# Prefer US English and use UTF-8.