diff --git a/.config/fish/config_wsl.fish b/.config/fish/config_wsl.fish index af4e300..09719ca 100644 --- a/.config/fish/config_wsl.fish +++ b/.config/fish/config_wsl.fish @@ -1,5 +1,10 @@ # NAS -if timeout 0.2 ping -c1 192.168.1.200 &>/dev/null +if timeout 0.2 ping -c1 192.168.1.200 > /dev/null sudo mount -t drvfs 'Y:' /mnt/y -o metadata,uid=1000,gid=1000 2>/dev/null & end + +# Screen is lost on boot on my T1000 computer +if lscpu | grep "i7-10875H" > /dev/null + ln -sf /mnt/wslg/.X11-unix/X0 /tmp/.X11-unix/ +end