From 7a23304c9ca8b8aad97d570f901a6a7773349ceb Mon Sep 17 00:00:00 2001 From: mollusk Date: Thu, 31 Mar 2022 06:57:55 -0700 Subject: [PATCH] New Script: steamloop.sh --- steamloop.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 steamloop.sh diff --git a/steamloop.sh b/steamloop.sh new file mode 100755 index 0000000..0282b08 --- /dev/null +++ b/steamloop.sh @@ -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