From 73d3de343a6c09dffcaab1964dbbc2c3259b1787 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Thu, 3 Nov 2016 10:28:20 +0100 Subject: [PATCH] update qutebrowser --- config/qutebrowser/keys.conf | 11 +++++--- config/qutebrowser/qutebrowser.conf | 41 ++++++++++++++++++++--------- local/bin/qutebrowser | 6 ++--- 3 files changed, 39 insertions(+), 19 deletions(-) diff --git a/config/qutebrowser/keys.conf b/config/qutebrowser/keys.conf index 54344de..1fbe6c7 100644 --- a/config/qutebrowser/keys.conf +++ b/config/qutebrowser/keys.conf @@ -560,12 +560,17 @@ prompt-accept yes prompt-accept no n -rl-complete-path - - prompt-open-download +prompt-item-focus prev + + + +prompt-item-focus next + + + [command,prompt] rl-backward-char diff --git a/config/qutebrowser/qutebrowser.conf b/config/qutebrowser/qutebrowser.conf index fd91038..da675a2 100644 --- a/config/qutebrowser/qutebrowser.conf +++ b/config/qutebrowser/qutebrowser.conf @@ -36,7 +36,7 @@ # # startpage (List of String): # The default page(s) to open at the start, separated by commas. -# Default: https://duckduckgo.com +# Default: https://start.duckduckgo.com # # yank-ignored-url-parameters (List of String): # The URL parameters to strip with :yank url, separated by commas. @@ -294,6 +294,10 @@ url-incdec-segments = path,query # Globs are supported, so ';*' will blacklist all keychainsstarting # with ';'. Use '*' to disable keyhints # Default: +# +# prompt-radius (Int): +# The rounding radius for the edges of prompts. +# Default: 8 zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500% default-zoom = 100% downloads-position = top @@ -313,6 +317,7 @@ window-title-format = {perc}{title}{title_sep}qutebrowser modal-js-dialog = false hide-wayland-decoration = false keyhint-blacklist = +prompt-radius = 8 [network] # Settings related to the network. @@ -861,7 +866,7 @@ cache-size = 52428800 # - A zip-file of any of the above, with either only one file, or a # file named 'hosts' (with any extension). # Default: -# http://www.malwaredomainlist.com/hostslist/hosts.txt,http://someonewhocares.org/hosts/hosts,http://winhelp2002.mvps.org/hosts.zip,http://malwaredomains.lehigh.edu/files/justdomains.zip,http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext +# https://www.malwaredomainlist.com/hostslist/hosts.txt,http://someonewhocares.org/hosts/hosts,http://winhelp2002.mvps.org/hosts.zip,http://malwaredomains.lehigh.edu/files/justdomains.zip,https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext # # host-blocking-enabled (Bool): # Whether host blocking is enabled. @@ -1009,7 +1014,7 @@ DEFAULT = https://duckduckgo.com/?q={} # Aliases for commands. # By default, no aliases are defined. Example which adds a new command # `:qtb` to open qutebrowsers website: -# `qtb = open http://www.qutebrowser.org/` +# `qtb = open https://www.qutebrowser.org/` goto = open [colors] @@ -1092,14 +1097,6 @@ goto = open # Background color of the statusbar. # Default: black # -# statusbar.fg.prompt (QssColor): -# Foreground color of the statusbar if there is a prompt. -# Default: ${statusbar.fg} -# -# statusbar.bg.prompt (QssColor): -# Background color of the statusbar if there is a prompt. -# Default: darkblue -# # statusbar.fg.insert (QssColor): # Foreground color of the statusbar in insert mode. # Default: ${statusbar.fg} @@ -1329,6 +1326,18 @@ goto = open # messages.border.info (QssColor): # Border color of an info message. # Default: #333333 +# +# prompts.fg (QssColor): +# Foreground color for prompts. +# Default: white +# +# prompts.bg (QssColor): +# Background color for prompts. +# Default: darkblue +# +# prompts.selected.bg (QssColor): +# Background color for the selected item in filename prompts. +# Default: #308cc6 completion.fg = white completion.bg = #333333 completion.alternate-bg = #444444 @@ -1345,8 +1354,6 @@ completion.scrollbar.fg = ${completion.fg} completion.scrollbar.bg = ${completion.bg} statusbar.fg = white statusbar.bg = black -statusbar.fg.prompt = ${statusbar.fg} -statusbar.bg.prompt = darkblue statusbar.fg.insert = ${statusbar.fg} statusbar.bg.insert = darkgreen statusbar.fg.command = ${statusbar.fg} @@ -1400,6 +1407,9 @@ messages.border.warning = #d47300 messages.fg.info = white messages.bg.info = black messages.border.info = #333333 +prompts.fg = ${statusbar.fg} +prompts.bg = darkblue +prompts.selected.bg = #308cc6 [fonts] # Fonts used for the UI, with optional style/weight/size. @@ -1496,6 +1506,10 @@ messages.border.info = #333333 # messages.info (Font): # Font used for info messages. # Default: 8pt ${_monospace} +# +# prompts (Font): +# Font used for prompts. +# Default: 8pt sans-serif _monospace = Terminus, Monospace, "DejaVu Sans Mono", Monaco, "Bitstream Vera Sans Mono", "Andale Mono", "Liberation Mono", "Courier New", Courier, monospace, Fixed, Consolas, Terminal completion = 8pt ${_monospace} completion.category = bold ${completion} @@ -1518,3 +1532,4 @@ keyhint = 8pt ${_monospace} messages.error = 8pt ${_monospace} messages.warning = 8pt ${_monospace} messages.info = 8pt ${_monospace} +prompts = 8pt sans-serif diff --git a/local/bin/qutebrowser b/local/bin/qutebrowser index 367d4eb..9639533 100755 --- a/local/bin/qutebrowser +++ b/local/bin/qutebrowser @@ -1,6 +1,6 @@ #!/usr/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'qutebrowser==0.8.1','gui_scripts','qutebrowser' -__requires__ = 'qutebrowser==0.8.1' +# EASY-INSTALL-ENTRY-SCRIPT: 'qutebrowser==0.8.2','gui_scripts','qutebrowser' +__requires__ = 'qutebrowser==0.8.2' 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.1', 'gui_scripts', 'qutebrowser')() + load_entry_point('qutebrowser==0.8.2', 'gui_scripts', 'qutebrowser')() )