Browser options
This commit is contained in:
parent
c3cecdad1f
commit
c379354bbe
|
@ -35,6 +35,7 @@ IPFS_URL='http://127.0.0.1:8080/ipns'
|
|||
|
||||
# The browser application to use
|
||||
BROWSER=midori
|
||||
BROWSER_OPTIONS='--plain -p'
|
||||
|
||||
# An optional suffix to be appended to the URL
|
||||
SUFFIX=$1
|
||||
|
@ -75,7 +76,7 @@ case $sel in
|
|||
clear
|
||||
echo $'Opening browser. Please wait...'
|
||||
pkill $BROWSER
|
||||
setsid sh -c "$BROWSER $IPFS_FULL_URL$SUFFIX" > /dev/null 2>&1 < /dev/null &
|
||||
setsid sh -c "$BROWSER $BROWSER_OPTIONS $IPFS_FULL_URL$SUFFIX" > /dev/null 2>&1 < /dev/null &
|
||||
fi
|
||||
else
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue