confOS/.config/fish/config_wsl.fish
2023-12-25 01:23:11 +01:00

10 lines
278 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
# 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