mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-13 23:51:34 +09:00
10 lines
227 B
Bash
Executable File
10 lines
227 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# configurable parameter
|
|
JAEUS_ENV="WSL"
|
|
|
|
if [[ $JAEUS_ENV == "WSL" ]];then
|
|
VETHER_IP=$(/bin/grep nameserver /etc/resolv.conf 2> /dev/null | /bin/tr -s ' ' | /bin/cut -d' ' -f2)
|
|
export DISPLAY=$VETHER_IP:10.0
|
|
fi
|