From 911094cedecf0096973a40cf7941c38689f755b8 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 25 Dec 2023 01:23:11 +0100 Subject: [PATCH] thanks microsoft --- .config/fish/config_wsl.fish | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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