From 549da1eb371a3455766caaf238ee6de5121bc805 Mon Sep 17 00:00:00 2001 From: Julian Grinblat Date: Tue, 14 May 2024 23:56:54 +0900 Subject: [PATCH] fix: watch requires a term to be set (#125) --- run_zwift.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_zwift.sh b/run_zwift.sh index a7eac2f..1ba9526 100755 --- a/run_zwift.sh +++ b/run_zwift.sh @@ -41,7 +41,7 @@ do sleep 1 done -[[ -n "${DBUS_SESSION_BUS_ADDRESS}" ]] && watch -n 30 xdg-screensaver reset & +[[ -n "${DBUS_SESSION_BUS_ADDRESS}" ]] && while true; do sleep 30; xdg-screensaver reset; done & echo "Killing uneccesary applications" pkill ZwiftLauncher