13 lines
320 B
Fish
13 lines
320 B
Fish
|
|
# NAS
|
|
if timeout 0.2 ping -c1 192.168.1.200 > /dev/null
|
|
for drive in 'Y' 'Z'
|
|
sudo mount -t drvfs $drive: /mnt/$drive \
|
|
-o metadata,uid=$(id -u),gid=$(id -g) 2> /dev/null &
|
|
end
|
|
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
|