From 6575e05ef82bfb4ed7c4805643e1eaad61624da4 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 23 May 2017 09:48:02 +0100 Subject: Update --- qutebrowser/.config/qutebrowser/keys.conf | 8 ++-- qutebrowser/.config/qutebrowser/qutebrowser.conf | 50 +++++++++++----------- .../qutebrowser/userscripts/dictionary-search | 3 ++ 3 files changed, 32 insertions(+), 29 deletions(-) create mode 100755 qutebrowser/.local/share/qutebrowser/userscripts/dictionary-search (limited to 'qutebrowser') diff --git a/qutebrowser/.config/qutebrowser/keys.conf b/qutebrowser/.config/qutebrowser/keys.conf index f7069a4..9bed74f 100644 --- a/qutebrowser/.config/qutebrowser/keys.conf +++ b/qutebrowser/.config/qutebrowser/keys.conf @@ -270,9 +270,6 @@ bookmark-add M spawn --userscript quickmarks-dmenu - u - -spawn --userscript bookmarks-dmenu b set-cmd-text -s :bookmark-load -t @@ -329,6 +326,9 @@ navigate decrement inspector wi +spawn --userscript dictionary-search + gD + download gd @@ -416,7 +416,7 @@ set-cmd-text -s :bookmark-load gb undo - + u open -w diff --git a/qutebrowser/.config/qutebrowser/qutebrowser.conf b/qutebrowser/.config/qutebrowser/qutebrowser.conf index 04c1c79..fe787c5 100644 --- a/qutebrowser/.config/qutebrowser/qutebrowser.conf +++ b/qutebrowser/.config/qutebrowser/qutebrowser.conf @@ -174,7 +174,7 @@ ignore-case = smart startpage = about:blank yank-ignored-url-parameters = ref,utm_source,utm_medium,utm_campaign,utm_term,utm_content -default-open-dispatcher = +default-open-dispatcher = default-page = https://startpage.com auto-search = naive auto-save-config = true @@ -186,12 +186,12 @@ developer-extras = false print-element-backgrounds = true xss-auditing = false site-specific-quirks = true -default-encoding = +default-encoding = new-instance-open-target = tab new-instance-open-target.window = last-focused log-javascript-console = debug save-session = false -session-default-name = +session-default-name = url-incdec-segments = path,query [ui] @@ -326,9 +326,9 @@ message-unfocused = false confirm-quit = never zoom-text-only = false frame-flattening = false -user-stylesheet = +user-stylesheet = hide-scrollbar = true -css-media-type = +css-media-type = smooth-scrolling = false remove-finished-downloads = -1 hide-statusbar = false @@ -336,7 +336,7 @@ statusbar-padding = 1,1,0,0 window-title-format = {perc}{title}{title_sep}qutebrowser modal-js-dialog = false hide-wayland-decoration = false -keyhint-blacklist = +keyhint-blacklist = prompt-radius = 8 prompt-filebrowser = true @@ -399,13 +399,13 @@ prompt-filebrowser = true do-not-track = true accept-language = en-US,en referer-header = same-domain -user-agent = +user-agent = proxy = system proxy-dns-requests = true ssl-strict = ask dns-prefetch = true -custom-headers = -netrc-file = +custom-headers = +netrc-file = [completion] # Options related to completion and command history. @@ -691,7 +691,7 @@ position = top show-favicons = false width = 20% indicator-width = 3 -tabs-are-windows = true +tabs-are-windows = false title-format = {index}: {title} title-alignment = left mousewheel-tab-switching = true @@ -772,13 +772,13 @@ indicator-padding = 2,2,0,4 # cache-size (Int): # Size of the HTTP network cache. # Default: 52428800 -download-directory = +download-directory = prompt-download-directory = true remember-download-directory = true -maximum-pages-in-cache = -object-cache-capacities = -offline-storage-default-quota = -offline-web-application-cache-quota = +maximum-pages-in-cache = +object-cache-capacities = +offline-storage-default-quota = +offline-web-application-cache-quota = offline-storage-database = true offline-web-application-storage = true local-storage = true @@ -1547,16 +1547,16 @@ statusbar = 8pt ${_monospace} downloads = 8pt ${_monospace} hints = bold 13px ${_monospace} debug-console = 8pt ${_monospace} -web-family-standard = -web-family-fixed = -web-family-serif = -web-family-sans-serif = -web-family-cursive = -web-family-fantasy = -web-size-minimum = -web-size-minimum-logical = -web-size-default = -web-size-default-fixed = +web-family-standard = +web-family-fixed = +web-family-serif = +web-family-sans-serif = +web-family-cursive = +web-family-fantasy = +web-size-minimum = +web-size-minimum-logical = +web-size-default = +web-size-default-fixed = keyhint = 8pt ${_monospace} messages.error = 8pt ${_monospace} messages.warning = 8pt ${_monospace} diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/dictionary-search b/qutebrowser/.local/share/qutebrowser/userscripts/dictionary-search new file mode 100755 index 0000000..3155c91 --- /dev/null +++ b/qutebrowser/.local/share/qutebrowser/userscripts/dictionary-search @@ -0,0 +1,3 @@ +#!/bin/bash + +echo "open -t http://dictionary.cambridge.org/dictionary/english/$QUTE_SELECTED_TEXT" >> "$QUTE_FIFO" -- cgit v1.2.3