better test

This commit is contained in:
Mylloon 2023-12-27 20:31:24 +01:00
parent 71f9f96383
commit ef07fd287c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -4,7 +4,7 @@ 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
# 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