On my quest to make my WSL Windows Toolbar Launcher working, I found out that my attempt to set environmental variables for WSL from within command prompt futile:
Within command prompt, I can do a
wsl export DISPLAY=192.168.208.1:0.0, but
wsl echo $DISPLAY or
printenv DISPLAY will return nothing.
Is querying or even setting WSL environmental variables even possible from within command prompt?
P.s. In my case, I have those set in my .bashrc but running a script via wsl seems to have done nothing to the variables, as the GUI does not forward to the X-server on Windows 10 (host).