From 33a40fc271c2dc2e48ea40c8fcb2efc1800ac352 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Mon, 11 Jan 2016 18:56:39 +1100 Subject: [PATCH] qutebrowser: Update config --- .config/qutebrowser/qutebrowser.conf | 96 +++++++++++++++++----------- 1 file changed, 58 insertions(+), 38 deletions(-) diff --git a/.config/qutebrowser/qutebrowser.conf b/.config/qutebrowser/qutebrowser.conf index 95536292..459b4bc2 100644 --- a/.config/qutebrowser/qutebrowser.conf +++ b/.config/qutebrowser/qutebrowser.conf @@ -27,7 +27,7 @@ [general] # General/miscellaneous options. # -# ignore-case: +# ignore-case (IgnoreCase): # Whether to find text on a page case-insensitively. # true: Search case-insensitively # false: Search case-sensitively @@ -41,14 +41,14 @@ # # 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 # `about:blank` for a blank page. # Default: ${startpage} # -# auto-search: +# auto-search (AutoSearch): # Whether to start a search when something else than a URL is # entered. # naive: Use simple/naive check. @@ -67,8 +67,9 @@ # # editor (ShellCommand): # The editor (and arguments) to use for the `open-editor` command. -# Use `{}` for the filename. The value gets split like in a shell, -# so you can use `"` or `'` to quote arguments. +# The arguments get split like in a shell, so you can use `"` or `'` +# to quote them. +# `{}` gets replaced by the filename of the file to be edited. # Default: gvim -f "{}" # # editor-encoding (Encoding): @@ -115,7 +116,7 @@ # used. # Default: # -# new-instance-open-target: +# new-instance-open-target (String): # How to open links in an existing instance if a new one is # launched. # tab: Open a new tab in the existing window and activate the @@ -129,22 +130,24 @@ # window: Open in a new window. # Default: tab # -# log-javascript-console (Bool): -# Whether to log javascript console messages. -# Valid values: true, false -# Default: false +# log-javascript-console (String): +# How to log javascript console messages. +# none: Don't log messages. +# debug: Log messages with debug level. +# info: Log messages with info level. +# Default: debug # # save-session (Bool): # Whether to always save the open pages. # Valid values: true, false # Default: false # -# session-default-name: +# session-default-name (SessionName): # The name of the session to save by default, or empty for the last # loaded session. # Default: # -# url-incdec-segments (URLSegmentList): +# url-incdec-segments (FlagList): # The URL segments where `:navigate increment/decrement` will search # for a number. # Valid values: host, path, query, anchor @@ -165,7 +168,7 @@ xss-auditing = false site-specific-quirks = true default-encoding = new-instance-open-target = tab -log-javascript-console = false +log-javascript-console = none save-session = true session-default-name = url-incdec-segments = path,query @@ -196,7 +199,7 @@ url-incdec-segments = path,query # Valid values: true, false # Default: false # -# confirm-quit: +# confirm-quit (ConfirmQuit): # Whether to confirm quitting the application. # always: Always show a confirmation. # multiple-tabs: Show a confirmation if multiple tabs are @@ -222,7 +225,7 @@ url-incdec-segments = path,query # Valid values: true, false # Default: false # -# user-stylesheet: +# user-stylesheet (UserStyleSheet): # User stylesheet to use (absolute filename, filename relative to # the config directory or CSS string). Will expand environment # variables. @@ -237,10 +240,10 @@ url-incdec-segments = path,query # 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. @@ -289,7 +292,7 @@ frame-flattening = false user-stylesheet = ::-webkit-scrollbar { width: 0px; height: 0px; } css-media-type = smooth-scrolling = false -remove-finished-downloads = true +remove-finished-downloads = 1000 hide-statusbar = false statusbar-padding = 1,1,0,0 window-title-format = {perc}{title}{title_sep}qutebrowser @@ -309,7 +312,7 @@ hide-wayland-decoration = false # Value to send in the `accept-language` header. # Default: en-US,en # -# referer-header (Referer): +# referer-header (String): # Send the Referer header # always: Always send. # never: Never send; this is not recommended, as some sites may @@ -318,11 +321,11 @@ hide-wayland-decoration = false # protect your privacy, but shouldn't break any sites. # Default: same-domain # -# user-agent: +# user-agent (UserAgent): # User agent to send. Empty to send the default. # Default: # -# proxy: +# proxy (Proxy): # The proxy to use. # In addition to the listed values, you can use a `socks://...` or # `http://...` URL. @@ -347,7 +350,7 @@ hide-wayland-decoration = false do-not-track = true accept-language = en-US,en referer-header = same-domain -user-agent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.15 (KHTML, like Gecko) Version/8.0 Safari/538.15 qutebrowser/0.4.1 +user-agent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.15 (KHTML, like Gecko) Chrome/47.0.2526.80 Version/8.0 Safari/538.15 qutebrowser/0.4.1 proxy = system proxy-dns-requests = true ssl-strict = ask @@ -361,14 +364,14 @@ dns-prefetch = true # Valid values: true, false # Default: true # -# download-path-suggestion: +# download-path-suggestion (String): # What to display in the download filename input. # path: Show only the download path. # filename: Show only download filename. # 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 # @@ -451,7 +454,7 @@ scrollbar-padding = 2 # Valid values: true, false # Default: false # -# forward-unbound-keys: +# forward-unbound-keys (String): # Whether to forward unbound keys to the webview in normal mode. # all: Forward all unbound keys. # auto: Forward unbound non-alphanumeric keys. @@ -503,14 +506,14 @@ mouse-zoom-divider = 512 # Valid values: true, false # Default: false # -# select-on-remove: +# select-on-remove (SelectOnRemove): # Which tab to select when the focused tab is removed. # left: Select the tab on the left. # right: Select the tab on the right. # previous: Select the previously selected tab. # Default: right # -# new-tab-position: +# new-tab-position (NewTabPosition): # How new tabs are positioned. # left: On the left of the current tab. # right: On the right of the current tab. @@ -518,7 +521,7 @@ mouse-zoom-divider = 512 # last: At the right end. # Default: right # -# new-tab-position-explicit: +# new-tab-position-explicit (NewTabPosition): # How new tabs opened explicitly are positioned. # left: On the left of the current tab. # right: On the right of the current tab. @@ -526,7 +529,7 @@ mouse-zoom-divider = 512 # last: At the right end. # Default: last # -# last-close: +# last-close (String): # Behavior when the last tab is closed. # ignore: Don't do anything. # blank: Load a blank page. @@ -535,7 +538,7 @@ mouse-zoom-divider = 512 # close: Close the window. # Default: ignore # -# show (TabBarShow): +# show (String): # When to show the tab bar # always: Always show the tab bar. # never: Always hide the tab bar. @@ -558,7 +561,7 @@ mouse-zoom-divider = 512 # Valid values: true, false # Default: true # -# close-mouse-button: +# close-mouse-button (String): # On which mouse button to close tabs. # right: Close tabs on right-click. # middle: Close tabs on middle-click. @@ -602,6 +605,11 @@ mouse-zoom-divider = 512 # * `{scroll_pos}`: The page scroll position. # Default: {index}: {title} # +# title-alignment (TextAlignment): +# Alignment of the text inside of tabs +# Valid values: left, right, center +# Default: left +# # mousewheel-tab-switching (Bool): # Switch between tabs using the mouse wheel. # Valid values: true, false @@ -630,6 +638,7 @@ width = 20% indicator-width = 3 tabs-are-windows = false title-format = {index}: {title} +title-alignment = left mousewheel-tab-switching = true padding = 0,0,5,5 indicator-padding = 2,2,0,4 @@ -802,7 +811,7 @@ cache-size = 52428800 # Valid values: true, false # Default: true # -# cookies-accept: +# cookies-accept (String): # Control which cookies to accept. # all: Accept all cookies. # no-3rdparty: Accept cookies from the same origin only. @@ -838,6 +847,13 @@ cache-size = 52428800 # to exactly match the requested domain. # Local domains are always exempt from hostblocking. # Default: piwik.org +# +# enable-pdfjs (Bool): +# Enable pdf.js to view PDF files in the browser. +# Note that the files can still be downloaded by clicking the +# download button in the pdf.js viewer. +# Valid values: true, false +# Default: false allow-images = true allow-javascript = true allow-plugins = true @@ -858,6 +874,7 @@ 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 = true host-blocking-whitelist = piwik.org +enable-pdfjs = false [hints] # Hinting settings. @@ -870,7 +887,7 @@ host-blocking-whitelist = piwik.org # Opacity for hints. # Default: 0.7 # -# mode: +# mode (String): # Mode to use for hints. # number: Use numeric hints. # letter: Use the chars in the hints -> chars setting. @@ -1172,11 +1189,12 @@ yt = http://www.youtube.com/results?search_query={} # Color for the tab indicator on errors.. # Default: #ff0000 # -# tabs.indicator.system: +# tabs.indicator.system (ColorSystem): # Color gradient interpolation system for the tab indicator. # 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): @@ -1212,18 +1230,20 @@ yt = http://www.youtube.com/results?search_query={} # Color gradient stop for download backgrounds. # Default: #00aa00 # -# downloads.fg.system: +# downloads.fg.system (ColorSystem): # Color gradient interpolation system for download text. # 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: +# downloads.bg.system (ColorSystem): # Color gradient interpolation system for download backgrounds. # 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):