update qutebrowser and fix rifle magnet links

This commit is contained in:
Felix Van der Jeugt 2017-01-03 15:32:35 +01:00
parent 7ec152656a
commit 83e4205be3
3 changed files with 13 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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')()
)