3 # Configfile for qutebrowser.
5 # This configfile is parsed by python's configparser in extended
6 # interpolation mode. The format is very INI-like, so there are
7 # categories like [general] with "key = value"-pairs.
9 # Note that you shouldn't add your own comments, as this file is
10 # regenerated every time the config is saved.
12 # Interpolation looks like ${value} or ${section:value} and will be
13 # replaced by the respective value.
15 # Some settings will expand environment variables. Note that, since
16 # interpolation is run first, you will need to escape the $ char as
19 # This is the default config, so if you want to remove anything from
20 # here (as opposed to change/add), for example a key binding, set it to
23 # You will need to escape the following values:
24 # - # at the start of the line (at the first position of the key) (\#)
28 # General/miscellaneous options.
31 # Whether to find text on a page case-insensitively.
32 # true: Search case-insensitively
33 # false: Search case-sensitively
34 # smart: Search case-sensitively if there are capital chars
38 # Whether to wrap finding text to the top when arriving at the end.
39 # Valid values: true, false
43 # The default page(s) to open at the start, separated by commas.
44 # Default: https://duckduckgo.com
46 # default-page (FuzzyUrl):
47 # The page to open if :open -t/-b/-w is used without URL. Use
48 # `about:blank` for a blank page.
49 # Default: ${startpage}
52 # Whether to start a search when something else than a URL is
54 # naive: Use simple/naive check.
55 # dns: Use DNS requests (might be slow!).
56 # false: Never search automatically.
59 # auto-save-config (Bool):
60 # Whether to save the config automatically on quit.
61 # Valid values: true, false
64 # auto-save-interval (Int):
65 # How often (in milliseconds) to auto-save config/cookies/etc.
68 # editor (ShellCommand):
69 # The editor (and arguments) to use for the `open-editor` command.
70 # The arguments get split like in a shell, so you can use `"` or `'`
72 # `{}` gets replaced by the filename of the file to be edited.
73 # Default: gvim -f "{}"
75 # editor-encoding (Encoding):
76 # Encoding to use for editor.
79 # private-browsing (Bool):
80 # Do not record visited pages in the history or store web page
82 # Valid values: true, false
85 # developer-extras (Bool):
86 # Enable extra tools for Web developers.
87 # This needs to be enabled for `:inspector` to work and also adds an
88 # _Inspect_ entry to the context menu.
89 # Valid values: true, false
92 # print-element-backgrounds (Bool):
93 # Whether the background color and images are also drawn when the
95 # Valid values: true, false
98 # xss-auditing (Bool):
99 # Whether load requests should be monitored for cross-site scripting
101 # Suspicious scripts will be blocked and reported in the inspector's
102 # JavaScript console. Enabling this feature might have an impact on
104 # Valid values: true, false
107 # site-specific-quirks (Bool):
108 # Enable workarounds for broken sites.
109 # Valid values: true, false
112 # default-encoding (String):
113 # Default encoding to use for websites.
114 # The encoding must be a string describing an encoding such as
115 # _utf-8_, _iso-8859-1_, etc. If left empty a default value will be
119 # new-instance-open-target:
120 # How to open links in an existing instance if a new one is
122 # tab: Open a new tab in the existing window and activate the
124 # tab-bg: Open a new background tab in the existing window and
125 # activate the window.
126 # tab-silent: Open a new tab in the existing window without
127 # activating the window.
128 # tab-bg-silent: Open a new background tab in the existing
129 # window without activating the window.
130 # window: Open in a new window.
133 # log-javascript-console (Bool):
134 # Whether to log javascript console messages.
135 # Valid values: true, false
138 # save-session (Bool):
139 # Whether to always save the open pages.
140 # Valid values: true, false
143 # session-default-name:
144 # The name of the session to save by default, or empty for the last
148 # url-incdec-segments (URLSegmentList):
149 # The URL segments where `:navigate increment/decrement` will search
151 # Valid values: host, path, query, anchor
152 # Default: path,query
155 startpage = https://duckduckgo.com/?t=chakra
156 default-page = ${startpage}
158 auto-save-config = true
159 auto-save-interval = 15000
160 editor = urxvt -e vim "{}"
161 editor-encoding = utf-8
162 private-browsing = false
163 developer-extras = true
164 print-element-backgrounds = true
166 site-specific-quirks = true
168 new-instance-open-target = tab
169 log-javascript-console = false
171 session-default-name =
172 url-incdec-segments = path,query
175 # General options related to the user interface.
177 # zoom-levels (PercList):
178 # The available zoom levels, separated by commas.
180 # 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
182 # default-zoom (Perc):
183 # The default zoom level.
186 # downloads-position (VerticalPosition):
187 # Where to show the downloaded files.
188 # Valid values: top, bottom
191 # message-timeout (Int):
192 # Time (in ms) to show messages in the statusbar for.
195 # message-unfocused (Bool):
196 # Whether to show messages in unfocused windows.
197 # Valid values: true, false
201 # Whether to confirm quitting the application.
202 # always: Always show a confirmation.
203 # multiple-tabs: Show a confirmation if multiple tabs are
205 # downloads: Show a confirmation if downloads are running
206 # never: Never show a confirmation.
209 # display-statusbar-messages (Bool):
210 # Whether to display javascript statusbar messages.
211 # Valid values: true, false
214 # zoom-text-only (Bool):
215 # Whether the zoom factor on a frame applies only to the text or to
217 # Valid values: true, false
220 # frame-flattening (Bool):
221 # Whether to expand each subframe to its contents.
222 # This will flatten all the frames to become one scrollable page.
223 # Valid values: true, false
227 # User stylesheet to use (absolute filename, filename relative to
228 # the config directory or CSS string). Will expand environment
230 # Default: ::-webkit-scrollbar { width: 0px; height: 0px; }
232 # css-media-type (String):
233 # Set the CSS media type.
236 # smooth-scrolling (Bool):
237 # Whether to enable smooth scrolling for webpages.
238 # Valid values: true, false
241 # remove-finished-downloads (Int):
242 # Number of milliseconds to wait before removing finished downloads.
243 # Will not be removed if value is -1.
246 # hide-statusbar (Bool):
247 # Whether to hide the statusbar unless a message is shown.
248 # Valid values: true, false
251 # statusbar-padding (Padding):
252 # Padding for statusbar (top, bottom, left, right).
255 # window-title-format (FormatString):
256 # The format to use for the window title. The following placeholders
258 # * `{perc}`: The percentage as a string like `[10%]`.
259 # * `{perc_raw}`: The raw percentage, e.g. `10`
260 # * `{title}`: The title of the current web page
261 # * `{title_sep}`: The string ` - ` if a title is set, empty
263 # * `{id}`: The internal window ID of this window.
264 # * `{scroll_pos}`: The page scroll position.
265 # Default: {perc}{title}{title_sep}qutebrowser
267 # hide-mouse-cursor (Bool):
268 # Whether to hide the mouse cursor.
269 # Valid values: true, false
272 # modal-js-dialog (Bool):
273 # Use standard JavaScript modal dialog for alert() and confirm()
274 # Valid values: true, false
277 # hide-wayland-decoration (Bool):
278 # Hide the window decoration when using wayland (requires restart)
279 # Valid values: true, false
281 zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
283 downloads-position = top
284 message-timeout = 2000
285 message-unfocused = false
286 confirm-quit = downloads
287 display-statusbar-messages = false
288 zoom-text-only = false
289 frame-flattening = false
290 user-stylesheet = $$XDG_CONFIG_HOME/qutebrowser/css/default.css
292 smooth-scrolling = false
293 remove-finished-downloads = -1
294 hide-statusbar = false
295 statusbar-padding = 1,1,0,0
296 window-title-format = {perc}{title}{title_sep}qutebrowser
297 hide-mouse-cursor = false
298 modal-js-dialog = false
299 hide-wayland-decoration = false
302 # Settings related to the network.
304 # do-not-track (Bool):
305 # Value to send in the `DNT` header.
306 # Valid values: true, false
309 # accept-language (String):
310 # Value to send in the `accept-language` header.
313 # referer-header (Referer):
314 # Send the Referer header
315 # always: Always send.
316 # never: Never send; this is not recommended, as some sites may
318 # same-domain: Only send for the same domain. This will still
319 # protect your privacy, but shouldn't break any sites.
320 # Default: same-domain
323 # User agent to send. Empty to send the default.
328 # In addition to the listed values, you can use a `socks://...` or
330 # system: Use the system wide proxy.
331 # none: Don't use any proxy
334 # proxy-dns-requests (Bool):
335 # Whether to send DNS requests over the configured proxy.
336 # Valid values: true, false
339 # ssl-strict (BoolAsk):
340 # Whether to validate SSL handshakes.
341 # Valid values: true, false, ask
344 # dns-prefetch (Bool):
345 # Whether to try to pre-fetch DNS entries to speed up browsing.
346 # Valid values: true, false
349 accept-language = en-US,en,de,fr
350 referer-header = same-domain
353 proxy-dns-requests = true
358 # Options related to completion and command history.
361 # Automatically open completion when typing.
362 # Valid values: true, false
365 # download-path-suggestion:
366 # What to display in the download filename input.
367 # path: Show only the download path.
368 # filename: Show only download filename.
369 # both: Show download path and filename.
372 # timestamp-format (TimestampTemplate):
373 # How to format timestamps (e.g. for history)
377 # Whether to show the autocompletion window.
378 # Valid values: true, false
381 # height (PercOrInt):
382 # The height of the completion, in px or as percentage of the
386 # cmd-history-max-items (Int):
387 # How many commands to save in the command history.
388 # 0: no history / -1: unlimited
391 # web-history-max-items (Int):
392 # How many URLs to show in the web history.
393 # 0: no history / -1: unlimited
396 # quick-complete (Bool):
397 # Whether to move on to the next part when there's only one possible
399 # Valid values: true, false
403 # Whether to shrink the completion to be smaller than the configured
404 # size if there are no scrollbars.
405 # Valid values: true, false
408 # scrollbar-width (Int):
409 # Width of the scrollbar in the completion window (in px).
412 # scrollbar-padding (Int):
413 # Padding of scrollbar handle in completion window (in px).
416 download-path-suggestion = path
417 timestamp-format = %Y-%m-%d
420 cmd-history-max-items = 100
421 web-history-max-items = 1000
422 quick-complete = false
425 scrollbar-padding = 2
428 # Options related to input modes.
431 # Timeout for ambiguous key bindings.
434 # partial-timeout (Int):
435 # Timeout for partially typed key bindings.
438 # insert-mode-on-plugins (Bool):
439 # Whether to switch to insert mode when clicking flash and other
441 # Valid values: true, false
444 # auto-leave-insert-mode (Bool):
445 # Whether to leave insert mode if a non-editable element is clicked.
446 # Valid values: true, false
449 # auto-insert-mode (Bool):
450 # Whether to automatically enter insert mode if an editable element
451 # is focused after page load.
452 # Valid values: true, false
455 # forward-unbound-keys:
456 # Whether to forward unbound keys to the webview in normal mode.
457 # all: Forward all unbound keys.
458 # auto: Forward unbound non-alphanumeric keys.
459 # none: Don't forward any keys.
462 # spatial-navigation (Bool):
463 # Enables or disables the Spatial Navigation feature.
464 # Spatial navigation consists in the ability to navigate between
465 # focusable elements in a Web page, such as hyperlinks and form
466 # controls, by using Left, Right, Up and Down arrow keys. For
467 # example, if a user presses the Right key, heuristics determine
468 # whether there is an element he might be trying to reach towards
469 # the right and which element he probably wants.
470 # Valid values: true, false
473 # links-included-in-focus-chain (Bool):
474 # Whether hyperlinks should be included in the keyboard focus chain.
475 # Valid values: true, false
478 # rocker-gestures (Bool):
479 # Whether to enable Opera-like mouse rocker gestures. This disables
481 # Valid values: true, false
484 # mouse-zoom-divider (Int):
485 # How much to divide the mouse wheel movements to translate them
486 # into zoom increments.
489 partial-timeout = 1000
490 insert-mode-on-plugins = false
491 auto-leave-insert-mode = true
492 auto-insert-mode = false
493 forward-unbound-keys = auto
494 spatial-navigation = false
495 links-included-in-focus-chain = true
496 rocker-gestures = false
497 mouse-zoom-divider = 512
500 # Configuration of the tab bar.
502 # background-tabs (Bool):
503 # Whether to open new tabs (middleclick/ctrl+click) in background.
504 # Valid values: true, false
508 # Which tab to select when the focused tab is removed.
509 # left: Select the tab on the left.
510 # right: Select the tab on the right.
511 # previous: Select the previously selected tab.
515 # How new tabs are positioned.
516 # left: On the left of the current tab.
517 # right: On the right of the current tab.
518 # first: At the left end.
519 # last: At the right end.
522 # new-tab-position-explicit:
523 # How new tabs opened explicitly are positioned.
524 # left: On the left of the current tab.
525 # right: On the right of the current tab.
526 # first: At the left end.
527 # last: At the right end.
531 # Behavior when the last tab is closed.
532 # ignore: Don't do anything.
533 # blank: Load a blank page.
534 # startpage: Load the start page.
535 # default-page: Load the default page.
536 # close: Close the window.
540 # When to show the tab bar
541 # always: Always show the tab bar.
542 # never: Always hide the tab bar.
543 # multiple: Hide the tab bar if only one tab is open.
544 # switching: Show the tab bar when switching tabs.
547 # show-switching-delay (Int):
548 # Time to show the tab bar before hiding it when tabs->show is set
553 # Whether to wrap when changing tabs.
554 # Valid values: true, false
558 # Whether tabs should be movable.
559 # Valid values: true, false
562 # close-mouse-button:
563 # On which mouse button to close tabs.
564 # right: Close tabs on right-click.
565 # middle: Close tabs on middle-click.
566 # none: Don't close tabs using the mouse.
569 # position (Position):
570 # The position of the tab bar.
571 # Valid values: top, bottom, left, right
574 # show-favicons (Bool):
575 # Whether to show favicons in the tab bar.
576 # Valid values: true, false
580 # The width of the tab bar if it's vertical, in px or as percentage
584 # indicator-width (Int):
585 # Width of the progress indicator (0 to disable).
588 # tabs-are-windows (Bool):
589 # Whether to open windows instead of tabs.
590 # Valid values: true, false
593 # title-format (FormatString):
594 # The format to use for the tab title. The following placeholders
596 # * `{perc}`: The percentage as a string like `[10%]`.
597 # * `{perc_raw}`: The raw percentage, e.g. `10`
598 # * `{title}`: The title of the current web page
599 # * `{title_sep}`: The string ` - ` if a title is set, empty
601 # * `{index}`: The index of this tab.
602 # * `{id}`: The internal tab ID of this tab.
603 # * `{scroll_pos}`: The page scroll position.
604 # Default: {index}: {title}
606 # mousewheel-tab-switching (Bool):
607 # Switch between tabs using the mouse wheel.
608 # Valid values: true, false
612 # Padding for tabs (top, bottom, left, right).
615 # indicator-padding (Padding):
616 # Padding for indicators (top, bottom, left, right).
618 background-tabs = false
619 select-on-remove = left
620 new-tab-position = right
621 new-tab-position-explicit = right
624 show-switching-delay = 800
627 close-mouse-button = middle
632 tabs-are-windows = false
633 title-format = {index}: {title}
634 mousewheel-tab-switching = true
636 indicator-padding = 2,2,0,4
639 # Settings related to cache and storage.
641 # download-directory (Directory):
642 # The directory to save downloads to. An empty value selects a
643 # sensible os-specific default. Will expand environment variables.
646 # prompt-download-directory (Bool):
647 # Whether to prompt the user for the download location.
648 # If set to false, 'download-directory' will be used.
649 # Valid values: true, false
652 # remember-download-directory (Bool):
653 # Whether to remember the last used download directory.
654 # Valid values: true, false
657 # maximum-pages-in-cache (Int):
658 # The maximum number of pages to hold in the global memory page
660 # The Page Cache allows for a nicer user experience when navigating
661 # forth or back to pages in the forward/back history, by pausing and
662 # resuming up to _n_ pages.
663 # For more information about the feature, please refer to:
664 # http://webkit.org/blog/427/webkit-page-cache-i-the-basics/
667 # object-cache-capacities (WebKitBytesList):
668 # The capacities for the global memory cache for dead objects such
669 # as stylesheets or scripts. Syntax: cacheMinDeadCapacity,
670 # cacheMaxDead, totalCapacity.
671 # The _cacheMinDeadCapacity_ specifies the minimum number of bytes
672 # that dead objects should consume when the cache is under pressure.
673 # _cacheMaxDead_ is the maximum number of bytes that dead objects
674 # should consume when the cache is *not* under pressure.
675 # _totalCapacity_ specifies the maximum number of bytes that the
676 # cache should consume *overall*.
679 # offline-storage-default-quota (WebKitBytes):
680 # Default quota for new offline storage databases.
683 # offline-web-application-cache-quota (WebKitBytes):
684 # Quota for the offline web application cache.
687 # offline-storage-database (Bool):
688 # Whether support for the HTML 5 offline storage feature is enabled.
689 # Valid values: true, false
692 # offline-web-application-storage (Bool):
693 # Whether support for the HTML 5 web application cache feature is
695 # An application cache acts like an HTTP cache in some sense. For
696 # documents that use the application cache via JavaScript, the
697 # loader engine will first ask the application cache for the
698 # contents, before hitting the network.
699 # The feature is described in details at:
700 # http://dev.w3.org/html5/spec/Overview.html#appcache
701 # Valid values: true, false
704 # local-storage (Bool):
705 # Whether support for the HTML 5 local storage feature is enabled.
706 # Valid values: true, false
710 # Size of the HTTP network cache.
712 download-directory = ~/downloads
713 prompt-download-directory = true
714 remember-download-directory = true
715 maximum-pages-in-cache =
716 object-cache-capacities =
717 offline-storage-default-quota =
718 offline-web-application-cache-quota =
719 offline-storage-database = true
720 offline-web-application-storage = true
722 cache-size = 52428800
725 # Loaded plugins/scripts and allowed actions.
727 # allow-images (Bool):
728 # Whether images are automatically loaded in web pages.
729 # Valid values: true, false
732 # allow-javascript (Bool):
733 # Enables or disables the running of JavaScript programs.
734 # Valid values: true, false
737 # allow-plugins (Bool):
738 # Enables or disables plugins in Web pages.
739 # Qt plugins with a mimetype such as "application/x-qt-plugin" are
740 # not affected by this setting.
741 # Valid values: true, false
745 # Enables or disables WebGL.
746 # Valid values: true, false
749 # css-regions (Bool):
750 # Enable or disable support for CSS regions.
751 # Valid values: true, false
754 # hyperlink-auditing (Bool):
755 # Enable or disable hyperlink auditing (<a ping>).
756 # Valid values: true, false
759 # geolocation (BoolAsk):
760 # Allow websites to request geolocations.
761 # Valid values: true, false, ask
764 # notifications (BoolAsk):
765 # Allow websites to show notifications.
766 # Valid values: true, false, ask
769 # javascript-can-open-windows (Bool):
770 # Whether JavaScript programs can open new windows.
771 # Valid values: true, false
774 # javascript-can-close-windows (Bool):
775 # Whether JavaScript programs can close windows.
776 # Valid values: true, false
779 # javascript-can-access-clipboard (Bool):
780 # Whether JavaScript programs can read or write to the clipboard.
781 # Valid values: true, false
784 # ignore-javascript-prompt (Bool):
785 # Whether all javascript prompts should be ignored.
786 # Valid values: true, false
789 # ignore-javascript-alert (Bool):
790 # Whether all javascript alerts should be ignored.
791 # Valid values: true, false
794 # local-content-can-access-remote-urls (Bool):
795 # Whether locally loaded documents are allowed to access remote
797 # Valid values: true, false
800 # local-content-can-access-file-urls (Bool):
801 # Whether locally loaded documents are allowed to access other local
803 # Valid values: true, false
807 # Control which cookies to accept.
808 # all: Accept all cookies.
809 # no-3rdparty: Accept cookies from the same origin only.
810 # no-unknown-3rdparty: Accept cookies from the same origin only,
811 # unless a cookie is already set for the domain.
812 # never: Don't accept cookies at all.
813 # Default: no-3rdparty
815 # cookies-store (Bool):
816 # Whether to store cookies.
817 # Valid values: true, false
820 # host-block-lists (UrlList):
821 # List of URLs of lists which contain hosts to block.
822 # The file can be in one of the following formats:
823 # - An '/etc/hosts'-like file
824 # - One host per line
825 # - A zip-file of any of the above, with either only one file, or a
826 # file named 'hosts' (with any extension).
828 # 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
830 # host-blocking-enabled (Bool):
831 # Whether host blocking is enabled.
832 # Valid values: true, false
835 # host-blocking-whitelist (List):
836 # List of domains that should always be loaded, despite being
838 # Domains may contain * and ? wildcards and are otherwise required
839 # to exactly match the requested domain.
840 # Local domains are always exempt from hostblocking.
843 allow-javascript = true
844 allow-plugins = false
847 hyperlink-auditing = false
850 javascript-can-open-windows = false
851 javascript-can-close-windows = false
852 javascript-can-access-clipboard = false
853 ignore-javascript-prompt = false
854 ignore-javascript-alert = false
855 local-content-can-access-remote-urls = false
856 local-content-can-access-file-urls = true
857 cookies-accept = no-3rdparty
859 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
860 host-blocking-enabled = true
861 host-blocking-whitelist = piwik.org
867 # CSS border value for hints.
868 # Default: 1px solid #E3BE23
875 # Mode to use for hints.
876 # number: Use numeric hints.
877 # letter: Use the chars in the hints -> chars setting.
881 # Chars used for hint strings.
885 # Minimum number of chars used for hint strings.
889 # Whether to scatter hint key chains (like Vimium) or not (like
891 # Valid values: true, false
895 # Make chars in hint strings uppercase.
896 # Valid values: true, false
899 # auto-follow (Bool):
900 # Whether to auto-follow a hint if there's only one left.
901 # Valid values: true, false
904 # next-regexes (RegexList):
905 # A comma-separated list of regexes to use for 'next' links.
907 # \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b,\bcontinue\b
909 # prev-regexes (RegexList):
910 # A comma-separated list of regexes to use for 'prev' links.
911 # Default: \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b
912 border = 1px solid #E3BE23
920 next-regexes = \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b,\bcontinue\b
921 prev-regexes = \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b
924 # Definitions of search engines which can be used via the address bar.
925 # The searchengine named `DEFAULT` is used when `general -> auto-search`
926 # is true and something else than a URL was entered to be opened. Other
927 # search engines can be used by prepending the search engine name to the
928 # search term, e.g. `:open google qutebrowser`. The string `{}` will be
929 # replaced by the search term, use `{{` and `}}` for literal `{`/`}`
931 DEFAULT = ${duckduckgo}
932 duckduckgo = https://duckduckgo.com/?t=chakra&q={}
934 google = https://encrypted.google.com/search?q={}
936 wikipedia = http://en.wikipedia.org/w/index.php?title=Special:Search&search={}
938 pcl = http://docs.pointclouds.org/trunk/search.php?query={}
941 # Aliases for commands.
942 # By default, no aliases are defined. Example which adds a new command
943 # `:qtb` to open qutebrowsers website:
944 # `qtb = open http://www.qutebrowser.org/`
950 # Colors used in the UI.
951 # A value can be in one of the following format:
952 # * `#RGB`/`#RRGGBB`/`#RRRGGGBBB`/`#RRRRGGGGBBBB`
953 # * A SVG color name as specified in http://www.w3.org/TR/SVG/types.html#ColorKeywords[the W3C specification].
954 # * transparent (no color)
955 # * `rgb(r, g, b)` / `rgba(r, g, b, a)` (values 0-255 or percentages)
956 # * `hsv(h, s, v)` / `hsva(h, s, v, a)` (values 0-255, hue 0-359)
957 # * A gradient as explained in http://doc.qt.io/qt-5/stylesheet-reference.html#list-of-property-types[the Qt documentation] under ``Gradient''.
958 # A *.system value determines the color system to use for color
959 # interpolation between similarly-named *.start and *.stop entries,
960 # regardless of how they are defined in the options. Valid values are
961 # 'rgb', 'hsv', and 'hsl'.
962 # The `hints.*` values are a special case as they're real CSS colors, not Qt-CSS colors. There, for a gradient, you need to use `-webkit-gradient`, see https://www.webkit.org/blog/175/introducing-css-gradients/[the WebKit documentation].
964 # completion.fg (QtColor):
965 # Text color of the completion widget.
968 # completion.bg (QssColor):
969 # Background color of the completion widget.
972 # completion.alternate-bg (QssColor):
973 # Alternating background color of the completion widget.
976 # completion.category.fg (QtColor):
977 # Foreground color of completion widget category headers.
980 # completion.category.bg (QssColor):
981 # Background color of the completion widget category headers.
982 # Default: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #888888,
985 # completion.category.border.top (QssColor):
986 # Top border color of the completion widget category headers.
989 # completion.category.border.bottom (QssColor):
990 # Bottom border color of the completion widget category headers.
991 # Default: ${completion.category.border.top}
993 # completion.item.selected.fg (QtColor):
994 # Foreground color of the selected completion item.
997 # completion.item.selected.bg (QssColor):
998 # Background color of the selected completion item.
1001 # completion.item.selected.border.top (QssColor):
1002 # Top border color of the completion widget category headers.
1005 # completion.item.selected.border.bottom (QssColor):
1006 # Bottom border color of the selected completion item.
1007 # Default: ${completion.item.selected.border.top}
1009 # completion.match.fg (QssColor):
1010 # Foreground color of the matched text in the completion.
1013 # completion.scrollbar.fg (QssColor):
1014 # Color of the scrollbar handle in completion view.
1015 # Default: ${completion.fg}
1017 # completion.scrollbar.bg (QssColor):
1018 # Color of the scrollbar in completion view
1019 # Default: ${completion.bg}
1021 # statusbar.fg (QssColor):
1022 # Foreground color of the statusbar.
1025 # statusbar.bg (QssColor):
1026 # Background color of the statusbar.
1029 # statusbar.fg.error (QssColor):
1030 # Foreground color of the statusbar if there was an error.
1031 # Default: ${statusbar.fg}
1033 # statusbar.bg.error (QssColor):
1034 # Background color of the statusbar if there was an error.
1037 # statusbar.fg.warning (QssColor):
1038 # Foreground color of the statusbar if there is a warning.
1039 # Default: ${statusbar.fg}
1041 # statusbar.bg.warning (QssColor):
1042 # Background color of the statusbar if there is a warning.
1043 # Default: darkorange
1045 # statusbar.fg.prompt (QssColor):
1046 # Foreground color of the statusbar if there is a prompt.
1047 # Default: ${statusbar.fg}
1049 # statusbar.bg.prompt (QssColor):
1050 # Background color of the statusbar if there is a prompt.
1053 # statusbar.fg.insert (QssColor):
1054 # Foreground color of the statusbar in insert mode.
1055 # Default: ${statusbar.fg}
1057 # statusbar.bg.insert (QssColor):
1058 # Background color of the statusbar in insert mode.
1059 # Default: darkgreen
1061 # statusbar.fg.command (QssColor):
1062 # Foreground color of the statusbar in command mode.
1063 # Default: ${statusbar.fg}
1065 # statusbar.bg.command (QssColor):
1066 # Background color of the statusbar in command mode.
1067 # Default: ${statusbar.bg}
1069 # statusbar.fg.caret (QssColor):
1070 # Foreground color of the statusbar in caret mode.
1071 # Default: ${statusbar.fg}
1073 # statusbar.bg.caret (QssColor):
1074 # Background color of the statusbar in caret mode.
1077 # statusbar.fg.caret-selection (QssColor):
1078 # Foreground color of the statusbar in caret mode with a selection
1079 # Default: ${statusbar.fg}
1081 # statusbar.bg.caret-selection (QssColor):
1082 # Background color of the statusbar in caret mode with a selection
1085 # statusbar.progress.bg (QssColor):
1086 # Background color of the progress bar.
1089 # statusbar.url.fg (QssColor):
1090 # Default foreground color of the URL in the statusbar.
1091 # Default: ${statusbar.fg}
1093 # statusbar.url.fg.success (QssColor):
1094 # Foreground color of the URL in the statusbar on successful load
1098 # statusbar.url.fg.success.https (QssColor):
1099 # Foreground color of the URL in the statusbar on successful load
1103 # statusbar.url.fg.error (QssColor):
1104 # Foreground color of the URL in the statusbar on error.
1107 # statusbar.url.fg.warn (QssColor):
1108 # Foreground color of the URL in the statusbar when there's a
1112 # statusbar.url.fg.hover (QssColor):
1113 # Foreground color of the URL in the statusbar for hovered links.
1116 # tabs.fg.odd (QtColor):
1117 # Foreground color of unselected odd tabs.
1120 # tabs.bg.odd (QtColor):
1121 # Background color of unselected odd tabs.
1124 # tabs.fg.even (QtColor):
1125 # Foreground color of unselected even tabs.
1128 # tabs.bg.even (QtColor):
1129 # Background color of unselected even tabs.
1132 # tabs.fg.selected.odd (QtColor):
1133 # Foreground color of selected odd tabs.
1136 # tabs.bg.selected.odd (QtColor):
1137 # Background color of selected odd tabs.
1140 # tabs.fg.selected.even (QtColor):
1141 # Foreground color of selected even tabs.
1142 # Default: ${tabs.fg.selected.odd}
1144 # tabs.bg.selected.even (QtColor):
1145 # Background color of selected even tabs.
1146 # Default: ${tabs.bg.selected.odd}
1148 # tabs.bg.bar (QtColor):
1149 # Background color of the tab bar.
1152 # tabs.indicator.start (QtColor):
1153 # Color gradient start for the tab indicator.
1156 # tabs.indicator.stop (QtColor):
1157 # Color gradient end for the tab indicator.
1160 # tabs.indicator.error (QtColor):
1161 # Color for the tab indicator on errors..
1164 # tabs.indicator.system:
1165 # Color gradient interpolation system for the tab indicator.
1166 # rgb: Interpolate in the RGB color system.
1167 # hsv: Interpolate in the HSV color system.
1168 # hsl: Interpolate in the HSL color system.
1169 # none: Don't show a gradient.
1172 # hints.fg (CssColor):
1173 # Font color for hints.
1176 # hints.bg (CssColor):
1177 # Background color for hints.
1178 # Default: -webkit-gradient(linear, left top, left bottom,
1179 # color-stop(0%,#FFF785), color-stop(100%,#FFC542))
1181 # hints.fg.match (CssColor):
1182 # Font color for the matched part of hints.
1185 # downloads.bg.bar (QssColor):
1186 # Background color for the download bar.
1189 # downloads.fg.start (QtColor):
1190 # Color gradient start for download text.
1193 # downloads.bg.start (QtColor):
1194 # Color gradient start for download backgrounds.
1197 # downloads.fg.stop (QtColor):
1198 # Color gradient end for download text.
1199 # Default: ${downloads.fg.start}
1201 # downloads.bg.stop (QtColor):
1202 # Color gradient stop for download backgrounds.
1205 # downloads.fg.system:
1206 # Color gradient interpolation system for download text.
1207 # rgb: Interpolate in the RGB color system.
1208 # hsv: Interpolate in the HSV color system.
1209 # hsl: Interpolate in the HSL color system.
1210 # none: Don't show a gradient.
1213 # downloads.bg.system:
1214 # Color gradient interpolation system for download backgrounds.
1215 # rgb: Interpolate in the RGB color system.
1216 # hsv: Interpolate in the HSV color system.
1217 # hsl: Interpolate in the HSL color system.
1218 # none: Don't show a gradient.
1221 # downloads.fg.error (QtColor):
1222 # Foreground color for downloads with errors.
1225 # downloads.bg.error (QtColor):
1226 # Background color for downloads with errors.
1229 # webpage.bg (QtColor):
1230 # Background color for webpages if unset (or empty to use the
1233 completion.fg = white
1234 completion.bg = #333333
1235 completion.alternate-bg = #444444
1236 completion.category.fg = white
1237 completion.category.bg = qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #888888, stop:1 #505050)
1238 completion.category.border.top = black
1239 completion.category.border.bottom = ${completion.category.border.top}
1240 completion.item.selected.fg = black
1241 completion.item.selected.bg = #e8c000
1242 completion.item.selected.border.top = #bbbb00
1243 completion.item.selected.border.bottom = ${completion.item.selected.border.top}
1244 completion.match.fg = #ff4444
1245 completion.scrollbar.fg = ${completion.fg}
1246 completion.scrollbar.bg = ${completion.bg}
1247 statusbar.fg = white
1248 statusbar.bg = black
1249 statusbar.fg.error = ${statusbar.fg}
1250 statusbar.bg.error = red
1251 statusbar.fg.warning = ${statusbar.fg}
1252 statusbar.bg.warning = darkorange
1253 statusbar.fg.prompt = ${statusbar.fg}
1254 statusbar.bg.prompt = darkblue
1255 statusbar.fg.insert = ${statusbar.fg}
1256 statusbar.bg.insert = darkgreen
1257 statusbar.fg.command = ${statusbar.fg}
1258 statusbar.bg.command = ${statusbar.bg}
1259 statusbar.fg.caret = ${statusbar.fg}
1260 statusbar.bg.caret = purple
1261 statusbar.fg.caret-selection = ${statusbar.fg}
1262 statusbar.bg.caret-selection = #a12dff
1263 statusbar.progress.bg = white
1264 statusbar.url.fg = ${statusbar.fg}
1265 statusbar.url.fg.success = white
1266 statusbar.url.fg.success.https = lime
1267 statusbar.url.fg.error = orange
1268 statusbar.url.fg.warn = yellow
1269 statusbar.url.fg.hover = aqua
1272 tabs.fg.even = white
1273 tabs.bg.even = darkgrey
1274 tabs.fg.selected.odd = white
1275 tabs.bg.selected.odd = black
1276 tabs.fg.selected.even = ${tabs.fg.selected.odd}
1277 tabs.bg.selected.even = ${tabs.bg.selected.odd}
1278 tabs.bg.bar = #555555
1279 tabs.indicator.start = #0000aa
1280 tabs.indicator.stop = #00aa00
1281 tabs.indicator.error = #ff0000
1282 tabs.indicator.system = rgb
1284 hints.bg = -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF785), color-stop(100%,#FFC542))
1285 hints.fg.match = green
1286 downloads.bg.bar = black
1287 downloads.fg.start = white
1288 downloads.bg.start = #0000aa
1289 downloads.fg.stop = ${downloads.fg.start}
1290 downloads.bg.stop = #00aa00
1291 downloads.fg.system = rgb
1292 downloads.bg.system = rgb
1293 downloads.fg.error = white
1294 downloads.bg.error = red
1298 # Fonts used for the UI, with optional style/weight/size.
1299 # * Style: `normal`/`italic`/`oblique`
1300 # * Weight: `normal`, `bold`, `100`..`900`
1301 # * Size: _number_ `px`/`pt`
1303 # _monospace (Font):
1304 # Default monospace fonts.
1305 # Default: Terminus, Monospace, "DejaVu Sans Mono", Monaco,
1306 # "Bitstream Vera Sans Mono", "Andale Mono", "Liberation Mono",
1307 # "Courier New", Courier, monospace, Fixed, Consolas, Terminal
1309 # completion (Font):
1310 # Font used in the completion widget.
1311 # Default: 8pt ${_monospace}
1314 # Font used in the tab bar.
1315 # Default: 8pt ${_monospace}
1318 # Font used in the statusbar.
1319 # Default: 8pt ${_monospace}
1322 # Font used for the downloadbar.
1323 # Default: 8pt ${_monospace}
1326 # Font used for the hints.
1327 # Default: bold 13px Monospace
1329 # debug-console (QtFont):
1330 # Font used for the debugging console.
1331 # Default: 8pt ${_monospace}
1333 # web-family-standard (FontFamily):
1334 # Font family for standard fonts.
1337 # web-family-fixed (FontFamily):
1338 # Font family for fixed fonts.
1341 # web-family-serif (FontFamily):
1342 # Font family for serif fonts.
1345 # web-family-sans-serif (FontFamily):
1346 # Font family for sans-serif fonts.
1349 # web-family-cursive (FontFamily):
1350 # Font family for cursive fonts.
1353 # web-family-fantasy (FontFamily):
1354 # Font family for fantasy fonts.
1357 # web-size-minimum (Int):
1358 # The hard minimum font size.
1361 # web-size-minimum-logical (Int):
1362 # The minimum logical font size that is applied when zooming out.
1365 # web-size-default (Int):
1366 # The default font size for regular text.
1369 # web-size-default-fixed (Int):
1370 # The default font size for fixed-pitch text.
1372 _monospace = Terminus, Monospace, "DejaVu Sans Mono", Monaco, "Bitstream Vera Sans Mono", "Andale Mono", "Liberation Mono", "Courier New", Courier, monospace, Fixed, Consolas, Terminal
1373 completion = 8pt ${_monospace}
1374 tabbar = 8pt ${_monospace}
1375 statusbar = 8pt ${_monospace}
1376 downloads = 8pt ${_monospace}
1377 hints = bold 12px Monospace
1378 debug-console = 8pt ${_monospace}
1379 web-family-standard =
1382 web-family-sans-serif =
1383 web-family-cursive =
1384 web-family-fantasy =
1386 web-size-minimum-logical =
1388 web-size-default-fixed =