X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/a9e273ca510656373d146535d2fee0abc702f2b0..172cfbb4b15794f9dd12a4531e6ba6b8f0edbb2a:/qutebrowser/qutebrowser.conf diff --git a/qutebrowser/qutebrowser.conf b/qutebrowser/qutebrowser.conf index 522cd75..d1c56d3 100644 --- a/qutebrowser/qutebrowser.conf +++ b/qutebrowser/qutebrowser.conf @@ -27,28 +27,35 @@ [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 # smart: Search case-sensitively if there are capital chars # Default: smart # -# wrap-search (Bool): -# Whether to wrap finding text to the top when arriving at the end. -# Valid values: true, false -# Default: true -# -# startpage (List): +# 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. +# Default: +# ref,utm_source,utm_medium,utm_campaign,utm_term,utm_content +# +# default-open-dispatcher (String): +# The default program used to open downloads. Set to an empty string +# to use the default internal handler. +# Any {} in the string will be expanded to the filename, else the +# filename will be appended. +# Default: # # 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. @@ -85,7 +92,8 @@ # developer-extras (Bool): # Enable extra tools for Web developers. # This needs to be enabled for `:inspector` to work and also adds an -# _Inspect_ entry to the context menu. +# _Inspect_ entry to the context menu. For QtWebEngine, see +# 'qutebrowser --help' instead. # Valid values: true, false # Default: false # @@ -116,7 +124,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 @@ -130,29 +138,43 @@ # window: Open in a new window. # Default: tab # -# log-javascript-console (Bool): -# Whether to log javascript console messages. -# Valid values: true, false -# Default: false +# new-instance-open-target.window (String): +# Which window to choose when opening links as new tabs. +# first-opened: Open new tabs in the first (oldest) opened +# window. +# last-opened: Open new tabs in the last (newest) opened window. +# last-focused: Open new tabs in the most recently focused +# window. +# last-visible: Open new tabs in the most recently visible +# window. +# Default: last-focused +# +# 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 # Default: path,query ignore-case = smart -wrap-search = true startpage = https://duckduckgo.com/?t=chakra +yank-ignored-url-parameters = ref,utm_source,utm_medium,utm_campaign,utm_term,utm_content +default-open-dispatcher = default-page = ${startpage} auto-search = naive auto-save-config = true @@ -166,7 +188,8 @@ xss-auditing = false site-specific-quirks = true default-encoding = new-instance-open-target = tab -log-javascript-console = false +new-instance-open-target.window = last-focused +log-javascript-console = none save-session = true session-default-name = url-incdec-segments = path,query @@ -174,7 +197,7 @@ url-incdec-segments = path,query [ui] # General options related to the user interface. # -# zoom-levels (PercList): +# zoom-levels (List of Perc): # The available zoom levels, separated by commas. # Default: # 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500% @@ -188,6 +211,11 @@ url-incdec-segments = path,query # Valid values: top, bottom # Default: top # +# status-position (VerticalPosition): +# The position of the status bar. +# Valid values: top, bottom +# Default: bottom +# # message-timeout (Int): # Time (in ms) to show messages in the statusbar for. # Default: 2000 @@ -197,7 +225,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 @@ -206,11 +234,6 @@ url-incdec-segments = path,query # never: Never show a confirmation. # Default: never # -# display-statusbar-messages (Bool): -# Whether to display javascript statusbar messages. -# Valid values: true, false -# Default: false -# # zoom-text-only (Bool): # Whether the zoom factor on a frame applies only to the text or to # all content. @@ -223,11 +246,15 @@ url-incdec-segments = path,query # Valid values: true, false # Default: false # -# user-stylesheet: -# User stylesheet to use (absolute filename, filename relative to -# the config directory or CSS string). Will expand environment -# variables. -# Default: ::-webkit-scrollbar { width: 0px; height: 0px; } +# user-stylesheet (File): +# User stylesheet to use (absolute filename or filename relative to +# the config directory). Will expand environment variables. +# Default: +# +# hide-scrollbar (Bool): +# Hide the main scrollbar. +# Valid values: true, false +# Default: true # # css-media-type (String): # Set the CSS media type. @@ -262,13 +289,10 @@ url-incdec-segments = path,query # otherwise. # * `{id}`: The internal window ID of this window. # * `{scroll_pos}`: The page scroll position. +# * `{host}`: The host of the current web page. +# * `{backend}`: Either 'webkit' or 'webengine' # Default: {perc}{title}{title_sep}qutebrowser # -# hide-mouse-cursor (Bool): -# Whether to hide the mouse cursor. -# Valid values: true, false -# Default: false -# # modal-js-dialog (Bool): # Use standard JavaScript modal dialog for alert() and confirm() # Valid values: true, false @@ -278,25 +302,43 @@ url-incdec-segments = path,query # Hide the window decoration when using wayland (requires restart) # Valid values: true, false # Default: false +# +# keyhint-blacklist (List of String): +# Keychains that shouldn't be shown in the keyhint dialog +# 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 +# +# prompt-filebrowser (Bool): +# Show a filebrowser in upload/download prompts. +# Valid values: true, false +# Default: true zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500% default-zoom = 100% downloads-position = top +status-position = bottom message-timeout = 2000 message-unfocused = false confirm-quit = downloads -display-statusbar-messages = false zoom-text-only = false frame-flattening = false -user-stylesheet = $$XDG_CONFIG_HOME/qutebrowser/css/default.css +user-stylesheet = +hide-scrollbar = true css-media-type = smooth-scrolling = 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 +keyhint-blacklist = +prompt-radius = 8 +prompt-filebrowser = true [network] # Settings related to the network. @@ -310,7 +352,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 @@ -319,11 +361,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. @@ -345,6 +387,15 @@ hide-wayland-decoration = false # Whether to try to pre-fetch DNS entries to speed up browsing. # Valid values: true, false # Default: true +# +# custom-headers (HeaderDict): +# Set custom headers for qutebrowser HTTP requests. +# Default: +# +# netrc-file (File): +# Set location of a netrc-file for HTTP authentication. If empty, +# ~/.netrc is used. +# Default: do-not-track = true accept-language = en-US,en,de,fr referer-header = same-domain @@ -353,16 +404,20 @@ proxy = system proxy-dns-requests = true ssl-strict = ask dns-prefetch = true +custom-headers = +netrc-file = [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: +# download-path-suggestion (String): # What to display in the download filename input. # path: Show only the download path. # filename: Show only download filename. @@ -373,11 +428,6 @@ dns-prefetch = true # 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. @@ -412,10 +462,9 @@ dns-prefetch = true # 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 = 150 cmd-history-max-items = 100 web-history-max-items = 1000 @@ -428,12 +477,16 @@ scrollbar-padding = 2 # Options related to input modes. # # timeout (Int): -# Timeout for ambiguous key bindings. +# Timeout (in milliseconds) for ambiguous key bindings. +# If the current input forms both a complete match and a partial +# match, the complete match will be executed after this time. # Default: 500 # # partial-timeout (Int): -# Timeout for partially typed key bindings. -# Default: 1000 +# Timeout (in milliseconds) for partially typed key bindings. +# If the current input forms only partial matches, the keystring +# will be cleared after this time. +# Default: 5000 # # insert-mode-on-plugins (Bool): # Whether to switch to insert mode when clicking flash and other @@ -452,7 +505,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. @@ -486,7 +539,7 @@ scrollbar-padding = 2 # into zoom increments. # Default: 512 timeout = 500 -partial-timeout = 1000 +partial-timeout = 5000 insert-mode-on-plugins = false auto-leave-insert-mode = true auto-insert-mode = false @@ -504,30 +557,32 @@ 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: +# prev: Select the tab which came before the closed one (left in +# horizontal, above in vertical). +# next: Select the tab which came after the closed one (right in +# horizontal, below in vertical). +# last-used: Select the previously selected tab. +# Default: next +# +# 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. -# first: At the left end. -# last: At the right end. -# Default: right +# prev: Before the current tab. +# next: After the current tab. +# first: At the beginning. +# last: At the end. +# Default: next # -# 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. -# first: At the left end. -# last: At the right end. +# prev: Before the current tab. +# next: After the current tab. +# first: At the beginning. +# last: At the 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. @@ -536,7 +591,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. @@ -559,7 +614,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. @@ -601,8 +656,15 @@ mouse-zoom-divider = 512 # * `{index}`: The index of this tab. # * `{id}`: The internal tab ID of this tab. # * `{scroll_pos}`: The page scroll position. +# * `{host}`: The host of the current web page. +# * `{backend}`: Either 'webkit' or 'webengine' # 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 @@ -616,9 +678,9 @@ mouse-zoom-divider = 512 # Padding for indicators (top, bottom, left, right). # Default: 2,2,0,4 background-tabs = false -select-on-remove = left -new-tab-position = right -new-tab-position-explicit = right +select-on-remove = prev +new-tab-position = next +new-tab-position-explicit = next last-close = ignore show = always show-switching-delay = 800 @@ -631,6 +693,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 @@ -664,7 +727,7 @@ indicator-padding = 2,2,0,4 # http://webkit.org/blog/427/webkit-page-cache-i-the-basics/ # Default: # -# object-cache-capacities (WebKitBytesList): +# object-cache-capacities (List of WebKitBytes): # The capacities for the global memory cache for dead objects such # as stylesheets or scripts. Syntax: cacheMinDeadCapacity, # cacheMaxDead, totalCapacity. @@ -742,7 +805,8 @@ cache-size = 52428800 # Default: false # # webgl (Bool): -# Enables or disables WebGL. +# Enables or disables WebGL. For QtWebEngine, Qt/PyQt >= 5.7 is +# required for this setting. # Valid values: true, false # Default: true # @@ -766,8 +830,14 @@ cache-size = 52428800 # Valid values: true, false, ask # Default: ask # -# javascript-can-open-windows (Bool): -# Whether JavaScript programs can open new windows. +# media-capture (BoolAsk): +# Allow websites to record audio/video. +# Valid values: true, false, ask +# Default: ask +# +# javascript-can-open-windows-automatically (Bool): +# Whether JavaScript programs can open new windows without user +# interaction. # Valid values: true, false # Default: false # @@ -803,7 +873,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. @@ -817,7 +887,7 @@ cache-size = 52428800 # Valid values: true, false # Default: true # -# host-block-lists (UrlList): +# host-block-lists (List of Url): # List of URLs of lists which contain hosts to block. # The file can be in one of the following formats: # - An '/etc/hosts'-like file @@ -825,20 +895,27 @@ 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. # Valid values: true, false # Default: true # -# host-blocking-whitelist (List): +# host-blocking-whitelist (List of String): # 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 +# +# 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 = false @@ -846,8 +923,9 @@ webgl = true css-regions = true hyperlink-auditing = false geolocation = ask -notifications = ask -javascript-can-open-windows = false +notifications = false +media-capture = ask +javascript-can-open-windows-automatically = false javascript-can-close-windows = false javascript-can-access-clipboard = false ignore-javascript-prompt = false @@ -859,6 +937,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. @@ -867,17 +946,15 @@ host-blocking-whitelist = piwik.org # CSS border value for hints. # Default: 1px solid #E3BE23 # -# opacity (Float): -# 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. +# word: Use hints words based on the html elements and the extra +# words. # Default: letter # -# chars (String): +# chars (UniqueCharString): # Chars used for hint strings. # Default: asdfghjkl # @@ -887,7 +964,7 @@ host-blocking-whitelist = piwik.org # # scatter (Bool): # Whether to scatter hint key chains (like Vimium) or not (like -# dwb). +# dwb). Ignored for number hints. # Valid values: true, false # Default: true # @@ -896,29 +973,62 @@ host-blocking-whitelist = piwik.org # Valid values: true, false # Default: false # -# auto-follow (Bool): -# Whether to auto-follow a hint if there's only one left. -# Valid values: true, false -# Default: true -# -# next-regexes (RegexList): +# dictionary (File): +# The dictionary file to be used by the word hints. +# Default: /usr/share/dict/words +# +# auto-follow (String): +# Controls when a hint can be automatically followed without the +# user pressing Enter. +# always: Auto-follow whenever there is only a single hint on a +# page. +# unique-match: Auto-follow whenever there is a unique non-empty +# match in either the hint string (word mode) or filter (number +# mode). +# full-match: Follow the hint when the user typed the whole hint +# (letter, word or number mode) or the element's text (only in +# number mode). +# never: The user will always need to press Enter to follow a +# hint. +# Default: unique-match +# +# auto-follow-timeout (Int): +# A timeout (in milliseconds) to inhibit normal-mode key bindings +# after a successful auto-follow. +# Default: 0 +# +# next-regexes (List of Regex): # A comma-separated list of regexes to use for 'next' links. # Default: # \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b,\bcontinue\b # -# prev-regexes (RegexList): +# prev-regexes (List of Regex): # A comma-separated list of regexes to use for 'prev' links. # Default: \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b +# +# find-implementation (String): +# Which implementation to use to find elements to hint. +# javascript: Better but slower +# python: Slightly worse but faster +# Default: python +# +# hide-unmatched-rapid-hints (Bool): +# Controls hiding unmatched hints in rapid mode. +# Valid values: true, false +# Default: true border = 1px solid #E3BE23 -opacity = 0.7 mode = letter chars = aoeuidhtns -min-chars = 1 -scatter = true +min-chars = 2 +scatter = false uppercase = true -auto-follow = true +dictionary = /usr/share/dict/words +auto-follow = unique-match +auto-follow-timeout = 0 next-regexes = \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b,\bcontinue\b prev-regexes = \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b +find-implementation = javascript +hide-unmatched-rapid-hints = true [searchengines] # Definitions of search engines which can be used via the address bar. @@ -936,21 +1046,24 @@ g = ${google} wikipedia = http://en.wikipedia.org/w/index.php?title=Special:Search&search={} wiki = ${wikipedia} pcl = http://docs.pointclouds.org/trunk/search.php?query={} +std = http://en.cppreference.com/mwiki/index.php?title=Special%3ASearch&search={} +cv = http://docs.opencv.org/3.1.0/index.html#gsc.tab=0&gsc.ref=more%3A3.1&gsc.q={} [aliases] # 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/` quit = close q = close exit = quit +mpv = spawn --userscript ~/src/qutebrowser/misc/userscripts/view_in_mpv [colors] # Colors used in the UI. # A value can be in one of the following format: # * `#RGB`/`#RRGGBB`/`#RRRGGGBBB`/`#RRRRGGGGBBBB` -# * A SVG color name as specified in http://www.w3.org/TR/SVG/types.html#ColorKeywords[the W3C specification]. +# * An SVG color name as specified in http://www.w3.org/TR/SVG/types.html#ColorKeywords[the W3C specification]. # * transparent (no color) # * `rgb(r, g, b)` / `rgba(r, g, b, a)` (values 0-255 or percentages) # * `hsv(h, s, v)` / `hsva(h, s, v, a)` (values 0-255, hue 0-359) @@ -1026,30 +1139,6 @@ exit = quit # Background color of the statusbar. # Default: black # -# statusbar.fg.error (QssColor): -# Foreground color of the statusbar if there was an error. -# Default: ${statusbar.fg} -# -# statusbar.bg.error (QssColor): -# Background color of the statusbar if there was an error. -# Default: red -# -# statusbar.fg.warning (QssColor): -# Foreground color of the statusbar if there is a warning. -# Default: ${statusbar.fg} -# -# statusbar.bg.warning (QssColor): -# Background color of the statusbar if there is a warning. -# Default: darkorange -# -# 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} @@ -1161,7 +1250,7 @@ exit = quit # 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. @@ -1169,16 +1258,17 @@ exit = quit # none: Don't show a gradient. # Default: rgb # -# hints.fg (CssColor): +# hints.fg (QssColor): # Font color for hints. # Default: black # -# hints.bg (CssColor): -# Background color for hints. -# Default: -webkit-gradient(linear, left top, left bottom, -# color-stop(0%,#FFF785), color-stop(100%,#FFC542)) +# hints.bg (QssColor): +# Background color for hints. Note that you can use a `rgba(...)` +# value for transparency. +# Default: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, +# 247, 133, 0.8), stop:1 rgba(255, 197, 66, 0.8)) # -# hints.fg.match (CssColor): +# hints.fg.match (QssColor): # Font color for the matched part of hints. # Default: green # @@ -1202,7 +1292,7 @@ exit = quit # 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. @@ -1210,7 +1300,7 @@ exit = quit # 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. @@ -1230,6 +1320,66 @@ exit = quit # Background color for webpages if unset (or empty to use the # theme's color) # Default: white +# +# keyhint.fg (QssColor): +# Text color for the keyhint widget. +# Default: #FFFFFF +# +# keyhint.fg.suffix (CssColor): +# Highlight color for keys to complete the current keychain +# Default: #FFFF00 +# +# keyhint.bg (QssColor): +# Background color of the keyhint widget. +# Default: rgba(0, 0, 0, 80%) +# +# messages.fg.error (QssColor): +# Foreground color of an error message. +# Default: white +# +# messages.bg.error (QssColor): +# Background color of an error message. +# Default: red +# +# messages.border.error (QssColor): +# Border color of an error message. +# Default: #bb0000 +# +# messages.fg.warning (QssColor): +# Foreground color a warning message. +# Default: white +# +# messages.bg.warning (QssColor): +# Background color of a warning message. +# Default: darkorange +# +# messages.border.warning (QssColor): +# Border color of an error message. +# Default: #d47300 +# +# messages.fg.info (QssColor): +# Foreground color an info message. +# Default: white +# +# messages.bg.info (QssColor): +# Background color of an info message. +# Default: black +# +# 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 @@ -1246,12 +1396,6 @@ completion.scrollbar.fg = ${completion.fg} completion.scrollbar.bg = ${completion.bg} statusbar.fg = white statusbar.bg = black -statusbar.fg.error = ${statusbar.fg} -statusbar.bg.error = red -statusbar.fg.warning = ${statusbar.fg} -statusbar.bg.warning = darkorange -statusbar.fg.prompt = ${statusbar.fg} -statusbar.bg.prompt = darkblue statusbar.fg.insert = ${statusbar.fg} statusbar.bg.insert = darkgreen statusbar.fg.command = ${statusbar.fg} @@ -1281,7 +1425,7 @@ tabs.indicator.stop = #00aa00 tabs.indicator.error = #ff0000 tabs.indicator.system = rgb hints.fg = black -hints.bg = -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF785), color-stop(100%,#FFC542)) +hints.bg = qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 247, 133, 0.8), stop:1 rgba(255, 197, 66, 0.8)) hints.fg.match = green downloads.bg.bar = black downloads.fg.start = white @@ -1293,6 +1437,21 @@ downloads.bg.system = rgb downloads.fg.error = white downloads.bg.error = red webpage.bg = white +keyhint.fg = #FFFFFF +keyhint.fg.suffix = #FFFF00 +keyhint.bg = rgba(0, 0, 0, 80%) +messages.fg.error = ${statusbar.fg} +messages.bg.error = red +messages.border.error = #bb0000 +messages.fg.warning = ${statusbar.fg} +messages.bg.warning = darkorange +messages.border.warning = #d47300 +messages.fg.info = white +messages.bg.info = black +messages.border.info = #333333 +prompts.fg = ${statusbar.fg} +prompts.bg = #333333 +prompts.selected.bg = #308cc6 [fonts] # Fonts used for the UI, with optional style/weight/size. @@ -1303,13 +1462,17 @@ webpage.bg = white # _monospace (Font): # Default monospace fonts. # Default: Terminus, Monospace, "DejaVu Sans Mono", Monaco, -# "Bitstream Vera Sans Mono", "Andale Mono", "Liberation Mono", -# "Courier New", Courier, monospace, Fixed, Consolas, Terminal +# "Bitstream Vera Sans Mono", "Andale Mono", "Courier New", Courier, +# "Liberation Mono", monospace, Fixed, Consolas, Terminal # # completion (Font): # Font used in the completion widget. # Default: 8pt ${_monospace} # +# completion.category (Font): +# Font used in the completion categories. +# Default: bold ${completion} +# # tabbar (QtFont): # Font used in the tab bar. # Default: 8pt ${_monospace} @@ -1324,7 +1487,7 @@ webpage.bg = white # # hints (Font): # Font used for the hints. -# Default: bold 13px Monospace +# Default: bold 13px ${_monospace} # # debug-console (QtFont): # Font used for the debugging console. @@ -1369,12 +1532,33 @@ webpage.bg = white # web-size-default-fixed (Int): # The default font size for fixed-pitch text. # Default: -_monospace = Terminus, Monospace, "DejaVu Sans Mono", Monaco, "Bitstream Vera Sans Mono", "Andale Mono", "Liberation Mono", "Courier New", Courier, monospace, Fixed, Consolas, Terminal +# +# keyhint (Font): +# Font used in the keyhint widget. +# Default: 8pt ${_monospace} +# +# messages.error (Font): +# Font used for error messages. +# Default: 8pt ${_monospace} +# +# messages.warning (Font): +# Font used for warning messages. +# Default: 8pt ${_monospace} +# +# messages.info (Font): +# Font used for info messages. +# Default: 8pt ${_monospace} +# +# prompts (Font): +# Font used for prompts. +# Default: 8pt sans-serif +_monospace = Hack, 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} tabbar = 8pt ${_monospace} statusbar = 8pt ${_monospace} downloads = 8pt ${_monospace} -hints = bold 12px Monospace +hints = bold 12px ${_monospace} debug-console = 8pt ${_monospace} web-family-standard = web-family-fixed = @@ -1386,3 +1570,8 @@ 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} +messages.info = 8pt ${_monospace} +prompts = 8pt sans-serif