summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-01-04 14:12:06 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-01-04 14:12:06 -0200
commit241ca178b6dc2ba6f88ab37cb67dce0a162bb9ea (patch)
tree227a6078b88c8b875350bf850203473c93b9c07d
parent63fb51fa5737f99dd69f122bdac5493d3360008b (diff)
downloadqutebrowser-241ca178b6dc2ba6f88ab37cb67dce0a162bb9ea.tar.gz
qutebrowser-241ca178b6dc2ba6f88ab37cb67dce0a162bb9ea.tar.bz2
Minor fixes
-rwxr-xr-xlib/qutebrowser-exec7
-rwxr-xr-xqutebrowser2
2 files changed, 5 insertions, 4 deletions
diff --git a/lib/qutebrowser-exec b/lib/qutebrowser-exec
index 7c5c119..b70d1c7 100755
--- a/lib/qutebrowser-exec
+++ b/lib/qutebrowser-exec
@@ -1,5 +1,6 @@
#!/usr/bin/env sh
#
+# See https://github.com/qutebrowser/qutebrowser/issues/572
# Thanks https://github.com/ayekat/dotfiles/blob/master/bin/qutebrowser
# Adapted to be sourced from another wrapper
@@ -10,9 +11,9 @@
# using the argument to set up the following directory structure and symbolic
# links:
#
-# $XDG_RUNTIME_DIR/qutebrowser/$session/cache → $XDG_CACHE_HOME/qutebrowser/$session
-# $XDG_RUNTIME_DIR/qutebrowser/$session/data → $XDG_DATA_HOME/qutebrowser/$session
-# $XDG_RUNTIME_DIR/qutebrowser/$session/config → $XDG_CONFIG_HOME/qutebrowser
+# $XDG_CACHE_HOME/qutebrowser/$session/cache → $XDG_CACHE_HOME/qutebrowser/$session
+# $XDG_DATA_HOME/qutebrowser/$session/data → $XDG_DATA_HOME/qutebrowser/$session
+# $XDG_CONFIG_HOME/qutebrowser/$session/config → $XDG_CONFIG_HOME/qutebrowser
# $XDG_RUNTIME_DIR/qutebrowser/$session/runtime (no symlink, regular directory)
#
# We then specify $XDG_RUNTIME_DIR/qutebrowser/$session as a --basedir, and the
diff --git a/qutebrowser b/qutebrowser
index 682116c..b4266ae 100755
--- a/qutebrowser
+++ b/qutebrowser
@@ -8,7 +8,7 @@ if [ "$1" != "update" ] && [ -x "$HOME/apps/qutebrowser/dist/.venv/bin/python3"
#export LD_LIBRARY_PATH=/usr/lib/openssl-1.0
#export LD_LIBRARY_PATH=/usr/lib/`arch`-linux-gnu/openssl-1.0.2
OPTS="--qt-flag disable-reading-from-canvas"
- source `dirname $0`/qutebrowser-exec
+ source `dirname $0`/lib/qutebrowser-exec
$HOME/apps/qutebrowser/dist/.venv/bin/python3 -m qutebrowser $OPTS "$@"
else
# Go to project folder