diff options
-rwxr-xr-x | start-browser.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 } |