scripts/qutebrowser

20 lines
404 B
Plaintext
Raw Normal View History

2016-06-07 16:31:26 +02:00
#!/bin/sh
# 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
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