confOS/.config/fish/config_wsl.fish

13 lines
360 B
Fish
Raw Normal View History

2023-11-06 00:27:31 +01:00
2022-03-30 19:29:58 +02:00
# NAS
2024-08-15 18:35:56 +02:00
if timeout 0.4 ping -c1 192.168.1.200 > /dev/null
2024-04-15 16:04:27 +02:00
set -l options metadata,uid=$(id -u),gid=$(id -g)
2024-04-15 16:08:28 +02:00
sudo mount -t drvfs "Y:" /mnt/y -o $options 2> /dev/null &
sudo mount -t drvfs "Z:" /mnt/z -o $options 2> /dev/null &
2023-12-23 18:21:31 +01:00
end
2023-12-25 01:23:11 +01:00
2023-12-27 20:31:24 +01:00
# Sometimes the screen is getting lost
if not test -e /tmp/.X11-unix/X0
2023-12-25 01:23:11 +01:00
ln -sf /mnt/wslg/.X11-unix/X0 /tmp/.X11-unix/
end