confOS/.config/fish/config_wsl.fish
2023-12-27 20:34:12 +01:00

10 lines
265 B
Fish

# NAS
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
# Sometimes the screen is getting lost
if not test -e /tmp/.X11-unix/X0
ln -sf /mnt/wslg/.X11-unix/X0 /tmp/.X11-unix/
end