New Script: steamloop.sh

This commit is contained in:
mollusk 2022-03-31 06:57:55 -07:00
parent eeecf8df23
commit 7a23304c9c

14
steamloop.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
# Running Steam in Wine causes Steam on Linux to lose connection
# This makes it hard to use Steam link if Steam has to be closed to reset
# This script just reopens Steam on the host so that Steam link can reconnect.
while true;do
if [ -z "$(pidof steam)" ];then
sleep 10s
/usr/bin/steam
fi
done