diff --git a/qutebrowser b/qutebrowser index 3f2a7da..b3bf7c5 100755 --- a/qutebrowser +++ b/qutebrowser @@ -1,7 +1,19 @@ #!/bin/sh -# Version from Git repository -~/repos/qutebrowser/qutebrowser.py --backend webengine "$@" +# Version with user's venv +if [ -f ~/src/qutebrowser-venv/bin/python3 ]; then + ~/src/qutebrowser-venv/bin/python3 -m qutebrowser + exit 0 +fi # Version from APT package -#command qutebrowser +if dpkg -l | grep -q qutebrowser ; then + command qutebrowser + exit 0 +fi + +# Version from Git repository +if [ -f ~/repos/qutebrowser/qutebrowser.py ]; then + ~/repos/qutebrowser/qutebrowser.py --backend webengine "$@" + exit0 +fi