diff --git a/shells/zshrc b/shells/zshrc index ffbc1f8..1845e75 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -160,3 +160,12 @@ then . "$GUIX_PROFILE/etc/profile" fi +################# +### WSL STUFF ### +################# + +if [[ -n $WSL_DISTRO_NAME ]]; +then + export DISPLAY=$(ip route | awk '{print $3; exit}'):0 + export LIBGL_ALWAYS_INDIRECT=1 +fi