From 4a5e965072858936c5c74f914c8186029ce6fe90 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Fri, 9 Sep 2016 17:16:15 +0200 Subject: [PATCH] update qutebrowser and use webengine --- config/qutebrowser/keys.conf | 13 ++++++------ config/qutebrowser/qutebrowser.conf | 31 ++++++++++++++++------------- local/bin/qutebrowsengine | 3 +++ 3 files changed, 26 insertions(+), 21 deletions(-) create mode 100755 local/bin/qutebrowsengine diff --git a/config/qutebrowser/keys.conf b/config/qutebrowser/keys.conf index ad52ff5..54344de 100644 --- a/config/qutebrowser/keys.conf +++ b/config/qutebrowser/keys.conf @@ -27,8 +27,7 @@ # # For simple keys (no `<>`-signs), a capital letter means the key is pressed # with Shift. For special keys (with `<>`-signs), you need to explicitly add -# `Shift-` to match a key pressed with shift. You can bind multiple commands -# by separating them with `;;`. +# `Shift-` to match a key pressed with shift. # # Note that default keybindings are always bound, and need to be explicitly # unbound if you wish to remove them: @@ -287,7 +286,7 @@ set-cmd-text -s :set set-cmd-text -s :set -t sl -set-cmd-text -s :set keybind +set-cmd-text -s :bind sk zoom-out @@ -544,8 +543,8 @@ completion-item-focus prev-category # bind special keys. # Useful hidden commands to map in this section: # * `prompt-accept`: Confirm the entered value. -# * `prompt-yes`: Answer yes to a yes/no question. -# * `prompt-no`: Answer no to a yes/no question. +# * `prompt-accept yes`: Answer yes to a yes/no question. +# * `prompt-accept no`: Answer no to a yes/no question. prompt-accept @@ -555,10 +554,10 @@ prompt-accept -prompt-yes +prompt-accept yes y -prompt-no +prompt-accept no n rl-complete-path diff --git a/config/qutebrowser/qutebrowser.conf b/config/qutebrowser/qutebrowser.conf index 7015b18..12fb3b2 100644 --- a/config/qutebrowser/qutebrowser.conf +++ b/config/qutebrowser/qutebrowser.conf @@ -38,6 +38,11 @@ # The default page(s) to open at the start, separated by commas. # Default: https://duckduckgo.com # +# yank-ignored-url-parameters (List of String): +# The URL parameters to strip with :yank url, separated by commas. +# Default: +# ref,utm_source,utm_medium,utm_campaign,utm_term,utm_content +# # default-page (FuzzyUrl): # The page to open if :open -t/-b/-w is used without URL. Use # `about:blank` for a blank page. @@ -160,6 +165,7 @@ # Default: path,query ignore-case = smart startpage = https://calendar.google.com +yank-ignored-url-parameters = ref,utm_source,utm_medium,utm_campaign,utm_term,utm_content default-page = ${startpage} auto-search = naive auto-save-config = true @@ -372,10 +378,12 @@ custom-headers = [completion] # Options related to completion and command history. # -# auto-open (Bool): -# Automatically open completion when typing. -# Valid values: true, false -# Default: true +# show (String): +# When to show the autocompletion window. +# always: Whenever a completion is available. +# auto: Whenever a completion is requested. +# never: Never. +# Default: always # # download-path-suggestion (String): # What to display in the download filename input. @@ -388,11 +396,6 @@ custom-headers = # How to format timestamps (e.g. for history) # Default: %Y-%m-%d # -# show (Bool): -# Whether to show the autocompletion window. -# Valid values: true, false -# Default: true -# # height (PercOrInt): # The height of the completion, in px or as percentage of the # window. @@ -427,10 +430,9 @@ custom-headers = # scrollbar-padding (Int): # Padding of scrollbar handle in completion window (in px). # Default: 2 -auto-open = true +show = always download-path-suggestion = path timestamp-format = %Y-%m-%d -show = true height = 50% cmd-history-max-items = 100 web-history-max-items = 100 @@ -793,8 +795,9 @@ cache-size = 52428800 # Valid values: true, false, ask # Default: ask # -# javascript-can-open-windows (Bool): -# Whether JavaScript programs can open new windows. +# javascript-can-open-windows-automatically (Bool): +# Whether JavaScript programs can open new windows without user +# interaction. # Valid values: true, false # Default: false # @@ -881,7 +884,7 @@ css-regions = true hyperlink-auditing = false geolocation = ask notifications = ask -javascript-can-open-windows = false +javascript-can-open-windows-automatically = false javascript-can-close-windows = false javascript-can-access-clipboard = false ignore-javascript-prompt = false diff --git a/local/bin/qutebrowsengine b/local/bin/qutebrowsengine new file mode 100755 index 0000000..089d24e --- /dev/null +++ b/local/bin/qutebrowsengine @@ -0,0 +1,3 @@ +#!/bin/sh + +/home/noctua/.local/bin/qutebrowser --debug --backend webengine "$@" &> /data/programming/qutebrowser/recent.log