From 430f352723b345023857a8db2bda1dda38397576 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 16 Jan 2013 09:38:02 +0100 Subject: start-browser: Always restart pluggit --- start-browser.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/start-browser.sh b/start-browser.sh index 7b5987c..0a3a682 100755 --- a/start-browser.sh +++ b/start-browser.sh @@ -13,6 +13,7 @@ cleanup() rm $idfile2 rm $idfile3 rm $stopfile + killall pluggit } control_c() @@ -39,7 +40,7 @@ wmctrl -i -r "$(cat $idfile2)" -e 0,1285,30,1280,720 start_and_watch_pluggit() { ts=`mktemp` while [ -e "$stopfile" ]; do - pluggit/pluggit "$@" && break; + pluggit/pluggit "$@"; sleep 1; done } -- cgit