Close window when opening browser

This commit is contained in:
Bob Mottram 2016-09-08 17:07:12 +01:00
parent 18cb71c753
commit c01e0e8bc3
No known key found for this signature in database
GPG Key ID: 0452CC7CEA982E38
1 changed files with 3 additions and 1 deletions

View File

@ -69,7 +69,9 @@ case $sel in
exit 3
fi
IPFS_FULL_URL=${IPFS_URL}/$(cat "$IPFS_USERS_FILE" | grep $TOX_ID | head -n 1 | awk -F ':' '{print $2}')
$BROWSER $IPFS_FULL_URL
clear
echo $'Opening browser. Please wait...'
$BROWSER $IPFS_FULL_URL &
fi
else
exit 1