From 83e4205be3087122f552cf4ec0d3e53fe6ddea84 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Tue, 3 Jan 2017 15:32:35 +0100 Subject: [PATCH] update qutebrowser and fix rifle magnet links --- config/qutebrowser/qutebrowser.conf | 10 +++++++++- config/ranger/rifle.conf | 2 +- local/bin/qutebrowser | 6 +++--- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/config/qutebrowser/qutebrowser.conf b/config/qutebrowser/qutebrowser.conf index 5a59a9b..3bdef5e 100644 --- a/config/qutebrowser/qutebrowser.conf +++ b/config/qutebrowser/qutebrowser.conf @@ -43,6 +43,13 @@ # Default: # ref,utm_source,utm_medium,utm_campaign,utm_term,utm_content # +# default-open-dispatcher (String): +# The default program used to open downloads. Set to an empty string +# to use the default internal handler. +# Any {} in the string will be expanded to the filename, else the +# filename will be appended. +# Default: +# # default-page (FuzzyUrl): # The page to open if :open -t/-b/-w is used without URL. Use # `about:blank` for a blank page. @@ -167,6 +174,7 @@ ignore-case = smart startpage = https://calendar.google.com yank-ignored-url-parameters = ref,utm_source,utm_medium,utm_campaign,utm_term,utm_content +default-open-dispatcher = rifle default-page = ${startpage} auto-search = naive auto-save-config = true @@ -669,7 +677,7 @@ mouse-zoom-divider = 512 # indicator-padding (Padding): # Padding for indicators (top, bottom, left, right). # Default: 2,2,0,4 -background-tabs = false +background-tabs = true select-on-remove = next new-tab-position = next new-tab-position-explicit = next diff --git a/config/ranger/rifle.conf b/config/ranger/rifle.conf index 278d7c3..c3454d0 100644 --- a/config/ranger/rifle.conf +++ b/config/ranger/rifle.conf @@ -52,7 +52,7 @@ # URLs #------------------------------------------- match ^https?://, has qutebrowser, X, flag f = qutebrowser -- "$@" -match ^magnet:, has transmission-remote = qutebrowser -- "$@" +match ^magnet:, has transmission-remote = transmission-remote --add "$@" #------------------------------------------- # Websites diff --git a/local/bin/qutebrowser b/local/bin/qutebrowser index d74228c..bf37d5e 100755 --- a/local/bin/qutebrowser +++ b/local/bin/qutebrowser @@ -1,6 +1,6 @@ #!/usr/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'qutebrowser==0.8.4','gui_scripts','qutebrowser' -__requires__ = 'qutebrowser==0.8.4' +# EASY-INSTALL-ENTRY-SCRIPT: 'qutebrowser==0.9.0','gui_scripts','qutebrowser' +__requires__ = 'qutebrowser==0.9.0' import re import sys from pkg_resources import load_entry_point @@ -8,5 +8,5 @@ from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( - load_entry_point('qutebrowser==0.8.4', 'gui_scripts', 'qutebrowser')() + load_entry_point('qutebrowser==0.9.0', 'gui_scripts', 'qutebrowser')() )