From 27584c30e7104e7759addebd4c9fe7ef44342a22 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Wed, 11 Nov 2015 00:36:37 +0100 Subject: [PATCH] switch to qutebrowser git version for devving --- config/qutebrowser/qutebrowser.conf | 96 ++++++++++++++++++++++++----- 1 file changed, 80 insertions(+), 16 deletions(-) diff --git a/config/qutebrowser/qutebrowser.conf b/config/qutebrowser/qutebrowser.conf index 1555949..324e5ba 100644 --- a/config/qutebrowser/qutebrowser.conf +++ b/config/qutebrowser/qutebrowser.conf @@ -41,7 +41,7 @@ # # startpage (List): # The default page(s) to open at the start, separated by commas. -# Default: https://www.duckduckgo.com +# Default: https://duckduckgo.com # # default-page (FuzzyUrl): # The page to open if :open -t/-b/-w is used without URL. Use @@ -143,6 +143,12 @@ # The name of the session to save by default, or empty for the last # loaded session. # Default: +# +# url-incdec-segments (URLSegmentList): +# The URL segments where `:navigate increment/decrement` will search +# for a number. +# Valid values: host, path, query, anchor +# Default: path,query ignore-case = smart wrap-search = true startpage = https://www.duckduckgo.com @@ -162,6 +168,7 @@ new-instance-open-target = tab log-javascript-console = false save-session = false session-default-name = +url-incdec-segments = path,query [ui] # General options related to the user interface. @@ -230,10 +237,10 @@ session-default-name = # Valid values: true, false # Default: false # -# remove-finished-downloads (Bool): -# Whether to remove finished downloads automatically. -# Valid values: true, false -# Default: false +# remove-finished-downloads (Int): +# Number of milliseconds to wait before removing finished downloads. +# Will not be removed if value is -1. +# Default: -1 # # hide-statusbar (Bool): # Whether to hide the statusbar unless a message is shown. @@ -253,6 +260,7 @@ session-default-name = # * `{title_sep}`: The string ` - ` if a title is set, empty # otherwise. # * `{id}`: The internal window ID of this window. +# * `{scroll_pos}`: The page scroll position. # Default: {perc}{title}{title_sep}qutebrowser # # hide-mouse-cursor (Bool): @@ -264,6 +272,11 @@ session-default-name = # Use standard JavaScript modal dialog for alert() and confirm() # Valid values: true, false # Default: false +# +# hide-wayland-decoration (Bool): +# Hide the window decoration when using wayland (requires restart) +# Valid values: true, false +# Default: false zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500% default-zoom = 100% downloads-position = top @@ -276,12 +289,13 @@ frame-flattening = false user-stylesheet = ::-webkit-scrollbar { width: 0px; height: 0px; } css-media-type = smooth-scrolling = true -remove-finished-downloads = false +remove-finished-downloads = -1 hide-statusbar = false statusbar-padding = 1,1,0,0 window-title-format = {perc}{title}{title_sep}qutebrowser hide-mouse-cursor = false modal-js-dialog = false +hide-wayland-decoration = false [network] # Settings related to the network. @@ -354,7 +368,7 @@ dns-prefetch = true # both: Show download path and filename. # Default: path # -# timestamp-format (String): +# timestamp-format (TimestampTemplate): # How to format timestamps (e.g. for history) # Default: %Y-%m-%d # @@ -389,6 +403,14 @@ dns-prefetch = true # size if there are no scrollbars. # Valid values: true, false # Default: false +# +# scrollbar-width (Int): +# Width of the scrollbar in the completion window (in px). +# Default: 12 +# +# scrollbar-padding (Int): +# Padding of scrollbar handle in completion window (in px). +# Default: 2 auto-open = true download-path-suggestion = path timestamp-format = %Y-%m-%d @@ -398,6 +420,8 @@ cmd-history-max-items = 100 web-history-max-items = 10000 quick-complete = true shrink = true +scrollbar-width = 12 +scrollbar-padding = 2 [input] # Options related to input modes. @@ -575,6 +599,7 @@ mouse-zoom-divider = 512 # otherwise. # * `{index}`: The index of this tab. # * `{id}`: The internal tab ID of this tab. +# * `{scroll_pos}`: The page scroll position. # Default: {index}: {title} # # mousewheel-tab-switching (Bool): @@ -805,6 +830,14 @@ cache-size = 52428800 # Whether host blocking is enabled. # Valid values: true, false # Default: true +# +# host-blocking-whitelist (List): +# List of domains that should always be loaded, despite being +# ad-blocked. +# Domains may contain * and ? wildcards and are otherwise required +# to exactly match the requested domain. +# Local domains are always exempt from hostblocking. +# Default: piwik.org allow-images = true allow-javascript = true allow-plugins = false @@ -824,6 +857,7 @@ cookies-accept = no-3rdparty cookies-store = true host-block-lists = 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 host-blocking-enabled = false +host-blocking-whitelist = piwik.org [hints] # Hinting settings. @@ -847,7 +881,7 @@ host-blocking-enabled = false # Default: asdfghjkl # # min-chars (Int): -# Mininum number of chars used for hint strings. +# Minimum number of chars used for hint strings. # Default: 1 # # scatter (Bool): @@ -966,12 +1000,20 @@ goto = open # Foreground color of the matched text in the completion. # Default: #ff4444 # +# completion.scrollbar.fg (QssColor): +# Color of the scrollbar handle in completion view. +# Default: ${completion.fg} +# +# completion.scrollbar.bg (QssColor): +# Color of the scrollbar in completion view +# Default: ${completion.bg} +# # statusbar.fg (QssColor): # Foreground color of the statusbar. # Default: white # # statusbar.bg (QssColor): -# Foreground color of the statusbar. +# Background color of the statusbar. # Default: black # # statusbar.fg.error (QssColor): @@ -1039,7 +1081,13 @@ goto = open # Default: ${statusbar.fg} # # statusbar.url.fg.success (QssColor): -# Foreground color of the URL in the statusbar on successful load. +# Foreground color of the URL in the statusbar on successful load +# (http). +# Default: white +# +# statusbar.url.fg.success.https (QssColor): +# Foreground color of the URL in the statusbar on successful load +# (https). # Default: lime # # statusbar.url.fg.error (QssColor): @@ -1071,14 +1119,22 @@ goto = open # Background color of unselected even tabs. # Default: darkgrey # -# tabs.fg.selected (QtColor): -# Foreground color of selected tabs. +# tabs.fg.selected.odd (QtColor): +# Foreground color of selected odd tabs. # Default: white # -# tabs.bg.selected (QtColor): -# Background color of selected tabs. +# tabs.bg.selected.odd (QtColor): +# Background color of selected odd tabs. # Default: black # +# tabs.fg.selected.even (QtColor): +# Foreground color of selected even tabs. +# Default: ${tabs.fg.selected.odd} +# +# tabs.bg.selected.even (QtColor): +# Background color of selected even tabs. +# Default: ${tabs.bg.selected.odd} +# # tabs.bg.bar (QtColor): # Background color of the tab bar. # Default: #555555 @@ -1100,6 +1156,7 @@ goto = open # rgb: Interpolate in the RGB color system. # hsv: Interpolate in the HSV color system. # hsl: Interpolate in the HSL color system. +# none: Don't show a gradient. # Default: rgb # # hints.fg (CssColor): @@ -1140,6 +1197,7 @@ goto = open # rgb: Interpolate in the RGB color system. # hsv: Interpolate in the HSV color system. # hsl: Interpolate in the HSL color system. +# none: Don't show a gradient. # Default: rgb # # downloads.bg.system: @@ -1147,6 +1205,7 @@ goto = open # rgb: Interpolate in the RGB color system. # hsv: Interpolate in the HSV color system. # hsl: Interpolate in the HSL color system. +# none: Don't show a gradient. # Default: rgb # # downloads.fg.error (QtColor): @@ -1173,6 +1232,8 @@ completion.item.selected.bg = #e8c000 completion.item.selected.border.top = #bbbb00 completion.item.selected.border.bottom = ${completion.item.selected.border.top} completion.match.fg = #ff4444 +completion.scrollbar.fg = ${completion.fg} +completion.scrollbar.bg = ${completion.bg} statusbar.fg = white statusbar.bg = black statusbar.fg.error = ${statusbar.fg} @@ -1192,6 +1253,7 @@ statusbar.bg.caret-selection = #a12dff statusbar.progress.bg = white statusbar.url.fg = ${statusbar.fg} statusbar.url.fg.success = lime +statusbar.url.fg.success.https = lime statusbar.url.fg.error = orange statusbar.url.fg.warn = yellow statusbar.url.fg.hover = aqua @@ -1199,8 +1261,10 @@ tabs.fg.odd = white tabs.bg.odd = grey tabs.fg.even = white tabs.bg.even = darkgrey -tabs.fg.selected = white -tabs.bg.selected = black +tabs.fg.selected.odd = white +tabs.bg.selected.odd = black +tabs.fg.selected.even = ${tabs.fg.selected.odd} +tabs.bg.selected.even = ${tabs.bg.selected.odd} tabs.bg.bar = #555555 tabs.indicator.start = #0000aa tabs.indicator.stop = #00aa00