From 241ca178b6dc2ba6f88ab37cb67dce0a162bb9ea Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 4 Jan 2018 14:12:06 -0200 Subject: Minor fixes --- lib/qutebrowser-exec | 7 ++++--- qutebrowser | 2 +- 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 -- cgit v1.2.3