scripts/qutebrowser: always detach shell

This commit is contained in:
Michele Guerini Rocco 2021-03-05 17:25:34 +01:00
parent d2ef3b77e2
commit 883bfe5307
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -3,7 +3,7 @@
bin=$(env PATH="$(echo "$PATH" | sed "s|$(dirname "$0"):||g")" sh -c 'command -v qutebrowser')
if pgrep qutebrowser >/dev/null; then
"$bin" "$@"
exec "$bin" "$@"
else
url="$1"
ver='1.6.3'