scripts/qutebrowser: always detach shell
This commit is contained in:
parent
d2ef3b77e2
commit
883bfe5307
@ -3,7 +3,7 @@
|
|||||||
bin=$(env PATH="$(echo "$PATH" | sed "s|$(dirname "$0"):||g")" sh -c 'command -v qutebrowser')
|
bin=$(env PATH="$(echo "$PATH" | sed "s|$(dirname "$0"):||g")" sh -c 'command -v qutebrowser')
|
||||||
|
|
||||||
if pgrep qutebrowser >/dev/null; then
|
if pgrep qutebrowser >/dev/null; then
|
||||||
"$bin" "$@"
|
exec "$bin" "$@"
|
||||||
else
|
else
|
||||||
url="$1"
|
url="$1"
|
||||||
ver='1.6.3'
|
ver='1.6.3'
|
||||||
|
Loading…
Reference in New Issue
Block a user