]> git.rmz.io Git - dotfiles.git/blob - qutebrowser/qutebrowser.conf
vim: don't jump to first error when :make
[dotfiles.git] / qutebrowser / qutebrowser.conf
1 # vim: ft=dosini
2
3 # Configfile for qutebrowser.
4 #
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.
8 #
9 # Note that you shouldn't add your own comments, as this file is
10 # regenerated every time the config is saved.
11 #
12 # Interpolation looks like ${value} or ${section:value} and will be
13 # replaced by the respective value.
14 #
15 # Some settings will expand environment variables. Note that, since
16 # interpolation is run first, you will need to escape the $ char as
17 # described below.
18 #
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
21 # an empty value.
22 #
23 # You will need to escape the following values:
24 # - # at the start of the line (at the first position of the key) (\#)
25 # - $ in a value ($$)
26
27 [general]
28 # General/miscellaneous options.
29 #
30 # ignore-case:
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
35 # Default: smart
36 #
37 # wrap-search (Bool):
38 # Whether to wrap finding text to the top when arriving at the end.
39 # Valid values: true, false
40 # Default: true
41 #
42 # startpage (List):
43 # The default page(s) to open at the start, separated by commas.
44 # Default: https://www.duckduckgo.com
45 #
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}
50 #
51 # auto-search:
52 # Whether to start a search when something else than a URL is
53 # entered.
54 # naive: Use simple/naive check.
55 # dns: Use DNS requests (might be slow!).
56 # false: Never search automatically.
57 # Default: naive
58 #
59 # auto-save-config (Bool):
60 # Whether to save the config automatically on quit.
61 # Valid values: true, false
62 # Default: true
63 #
64 # auto-save-interval (Int):
65 # How often (in milliseconds) to auto-save config/cookies/etc.
66 # Default: 15000
67 #
68 # editor (ShellCommand):
69 # The editor (and arguments) to use for the `open-editor` command.
70 # Use `{}` for the filename. The value gets split like in a shell,
71 # so you can use `"` or `'` to quote arguments.
72 # Default: gvim -f "{}"
73 #
74 # editor-encoding (Encoding):
75 # Encoding to use for editor.
76 # Default: utf-8
77 #
78 # private-browsing (Bool):
79 # Do not record visited pages in the history or store web page
80 # icons.
81 # Valid values: true, false
82 # Default: false
83 #
84 # developer-extras (Bool):
85 # Enable extra tools for Web developers.
86 # This needs to be enabled for `:inspector` to work and also adds an
87 # _Inspect_ entry to the context menu.
88 # Valid values: true, false
89 # Default: false
90 #
91 # print-element-backgrounds (Bool):
92 # Whether the background color and images are also drawn when the
93 # page is printed.
94 # Valid values: true, false
95 # Default: true
96 #
97 # xss-auditing (Bool):
98 # Whether load requests should be monitored for cross-site scripting
99 # attempts.
100 # Suspicious scripts will be blocked and reported in the inspector's
101 # JavaScript console. Enabling this feature might have an impact on
102 # performance.
103 # Valid values: true, false
104 # Default: false
105 #
106 # site-specific-quirks (Bool):
107 # Enable workarounds for broken sites.
108 # Valid values: true, false
109 # Default: true
110 #
111 # default-encoding (String):
112 # Default encoding to use for websites.
113 # The encoding must be a string describing an encoding such as
114 # _utf-8_, _iso-8859-1_, etc. If left empty a default value will be
115 # used.
116 # Default:
117 #
118 # new-instance-open-target:
119 # How to open links in an existing instance if a new one is
120 # launched.
121 # tab: Open a new tab in the existing window and activate the
122 # window.
123 # tab-bg: Open a new background tab in the existing window and
124 # activate the window.
125 # tab-silent: Open a new tab in the existing window without
126 # activating the window.
127 # tab-bg-silent: Open a new background tab in the existing
128 # window without activating the window.
129 # window: Open in a new window.
130 # Default: tab
131 #
132 # log-javascript-console (Bool):
133 # Whether to log javascript console messages.
134 # Valid values: true, false
135 # Default: false
136 #
137 # save-session (Bool):
138 # Whether to always save the open pages.
139 # Valid values: true, false
140 # Default: false
141 #
142 # session-default-name:
143 # The name of the session to save by default, or empty for the last
144 # loaded session.
145 # Default:
146 ignore-case = smart
147 wrap-search = true
148 startpage = https://www.duckduckgo.com
149 default-page = ${startpage}
150 auto-search = naive
151 auto-save-config = true
152 auto-save-interval = 15000
153 editor = urxvt -e vim "{}"
154 editor-encoding = utf-8
155 private-browsing = false
156 developer-extras = true
157 print-element-backgrounds = true
158 xss-auditing = false
159 site-specific-quirks = true
160 default-encoding =
161 new-instance-open-target = tab
162 log-javascript-console = false
163 save-session = true
164 session-default-name =
165
166 [ui]
167 # General options related to the user interface.
168 #
169 # zoom-levels (PercList):
170 # The available zoom levels, separated by commas.
171 # Default:
172 # 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
173 #
174 # default-zoom (Perc):
175 # The default zoom level.
176 # Default: 100%
177 #
178 # downloads-position (VerticalPosition):
179 # Where to show the downloaded files.
180 # Valid values: top, bottom
181 # Default: top
182 #
183 # message-timeout (Int):
184 # Time (in ms) to show messages in the statusbar for.
185 # Default: 2000
186 #
187 # message-unfocused (Bool):
188 # Whether to show messages in unfocused windows.
189 # Valid values: true, false
190 # Default: false
191 #
192 # confirm-quit:
193 # Whether to confirm quitting the application.
194 # always: Always show a confirmation.
195 # multiple-tabs: Show a confirmation if multiple tabs are
196 # opened.
197 # downloads: Show a confirmation if downloads are running
198 # never: Never show a confirmation.
199 # Default: never
200 #
201 # display-statusbar-messages (Bool):
202 # Whether to display javascript statusbar messages.
203 # Valid values: true, false
204 # Default: false
205 #
206 # zoom-text-only (Bool):
207 # Whether the zoom factor on a frame applies only to the text or to
208 # all content.
209 # Valid values: true, false
210 # Default: false
211 #
212 # frame-flattening (Bool):
213 # Whether to expand each subframe to its contents.
214 # This will flatten all the frames to become one scrollable page.
215 # Valid values: true, false
216 # Default: false
217 #
218 # user-stylesheet:
219 # User stylesheet to use (absolute filename, filename relative to
220 # the config directory or CSS string). Will expand environment
221 # variables.
222 # Default: ::-webkit-scrollbar { width: 0px; height: 0px; }
223 #
224 # css-media-type (String):
225 # Set the CSS media type.
226 # Default:
227 #
228 # smooth-scrolling (Bool):
229 # Whether to enable smooth scrolling for webpages.
230 # Valid values: true, false
231 # Default: false
232 #
233 # remove-finished-downloads (Bool):
234 # Whether to remove finished downloads automatically.
235 # Valid values: true, false
236 # Default: false
237 #
238 # hide-statusbar (Bool):
239 # Whether to hide the statusbar unless a message is shown.
240 # Valid values: true, false
241 # Default: false
242 #
243 # statusbar-padding (Padding):
244 # Padding for statusbar (top, bottom, left, right).
245 # Default: 1,1,0,0
246 #
247 # window-title-format (FormatString):
248 # The format to use for the window title. The following placeholders
249 # are defined:
250 # * `{perc}`: The percentage as a string like `[10%]`.
251 # * `{perc_raw}`: The raw percentage, e.g. `10`
252 # * `{title}`: The title of the current web page
253 # * `{title_sep}`: The string ` - ` if a title is set, empty
254 # otherwise.
255 # * `{id}`: The internal window ID of this window.
256 # Default: {perc}{title}{title_sep}qutebrowser
257 #
258 # hide-mouse-cursor (Bool):
259 # Whether to hide the mouse cursor.
260 # Valid values: true, false
261 # Default: false
262 #
263 # modal-js-dialog (Bool):
264 # Use standard JavaScript modal dialog for alert() and confirm()
265 # Valid values: true, false
266 # Default: false
267 zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
268 default-zoom = 100%
269 downloads-position = top
270 message-timeout = 2000
271 message-unfocused = false
272 confirm-quit = downloads
273 display-statusbar-messages = false
274 zoom-text-only = false
275 frame-flattening = false
276 user-stylesheet = $$XDG_CONFIG_HOME/qutebrowser/css/default.css
277 css-media-type =
278 smooth-scrolling = false
279 remove-finished-downloads = false
280 hide-statusbar = false
281 statusbar-padding = 1,1,0,0
282 window-title-format = {perc}{title}{title_sep}qutebrowser
283 hide-mouse-cursor = false
284 modal-js-dialog = false
285
286 [network]
287 # Settings related to the network.
288 #
289 # do-not-track (Bool):
290 # Value to send in the `DNT` header.
291 # Valid values: true, false
292 # Default: true
293 #
294 # accept-language (String):
295 # Value to send in the `accept-language` header.
296 # Default: en-US,en
297 #
298 # referer-header (Referer):
299 # Send the Referer header
300 # always: Always send.
301 # never: Never send; this is not recommended, as some sites may
302 # break.
303 # same-domain: Only send for the same domain. This will still
304 # protect your privacy, but shouldn't break any sites.
305 # Default: same-domain
306 #
307 # user-agent:
308 # User agent to send. Empty to send the default.
309 # Default:
310 #
311 # proxy:
312 # The proxy to use.
313 # In addition to the listed values, you can use a `socks://...` or
314 # `http://...` URL.
315 # system: Use the system wide proxy.
316 # none: Don't use any proxy
317 # Default: system
318 #
319 # proxy-dns-requests (Bool):
320 # Whether to send DNS requests over the configured proxy.
321 # Valid values: true, false
322 # Default: true
323 #
324 # ssl-strict (BoolAsk):
325 # Whether to validate SSL handshakes.
326 # Valid values: true, false, ask
327 # Default: ask
328 #
329 # dns-prefetch (Bool):
330 # Whether to try to pre-fetch DNS entries to speed up browsing.
331 # Valid values: true, false
332 # Default: true
333 do-not-track = true
334 accept-language = en-US,en,de,fr
335 referer-header = same-domain
336 user-agent =
337 proxy = system
338 proxy-dns-requests = true
339 ssl-strict = ask
340 dns-prefetch = true
341
342 [completion]
343 # Options related to completion and command history.
344 #
345 # auto-open (Bool):
346 # Automatically open completion when typing.
347 # Valid values: true, false
348 # Default: true
349 #
350 # download-path-suggestion:
351 # What to display in the download filename input.
352 # path: Show only the download path.
353 # filename: Show only download filename.
354 # both: Show download path and filename.
355 # Default: path
356 #
357 # timestamp-format (String):
358 # How to format timestamps (e.g. for history)
359 # Default: %Y-%m-%d
360 #
361 # show (Bool):
362 # Whether to show the autocompletion window.
363 # Valid values: true, false
364 # Default: true
365 #
366 # height (PercOrInt):
367 # The height of the completion, in px or as percentage of the
368 # window.
369 # Default: 50%
370 #
371 # cmd-history-max-items (Int):
372 # How many commands to save in the command history.
373 # 0: no history / -1: unlimited
374 # Default: 100
375 #
376 # web-history-max-items (Int):
377 # How many URLs to show in the web history.
378 # 0: no history / -1: unlimited
379 # Default: 1000
380 #
381 # quick-complete (Bool):
382 # Whether to move on to the next part when there's only one possible
383 # completion left.
384 # Valid values: true, false
385 # Default: true
386 #
387 # shrink (Bool):
388 # Whether to shrink the completion to be smaller than the configured
389 # size if there are no scrollbars.
390 # Valid values: true, false
391 # Default: false
392 auto-open = true
393 download-path-suggestion = path
394 timestamp-format = %Y-%m-%d
395 show = true
396 height = 150
397 cmd-history-max-items = 100
398 web-history-max-items = 1000
399 quick-complete = false
400 shrink = true
401
402 [input]
403 # Options related to input modes.
404 #
405 # timeout (Int):
406 # Timeout for ambiguous key bindings.
407 # Default: 500
408 #
409 # partial-timeout (Int):
410 # Timeout for partially typed key bindings.
411 # Default: 1000
412 #
413 # insert-mode-on-plugins (Bool):
414 # Whether to switch to insert mode when clicking flash and other
415 # plugins.
416 # Valid values: true, false
417 # Default: false
418 #
419 # auto-leave-insert-mode (Bool):
420 # Whether to leave insert mode if a non-editable element is clicked.
421 # Valid values: true, false
422 # Default: true
423 #
424 # auto-insert-mode (Bool):
425 # Whether to automatically enter insert mode if an editable element
426 # is focused after page load.
427 # Valid values: true, false
428 # Default: false
429 #
430 # forward-unbound-keys:
431 # Whether to forward unbound keys to the webview in normal mode.
432 # all: Forward all unbound keys.
433 # auto: Forward unbound non-alphanumeric keys.
434 # none: Don't forward any keys.
435 # Default: auto
436 #
437 # spatial-navigation (Bool):
438 # Enables or disables the Spatial Navigation feature.
439 # Spatial navigation consists in the ability to navigate between
440 # focusable elements in a Web page, such as hyperlinks and form
441 # controls, by using Left, Right, Up and Down arrow keys. For
442 # example, if a user presses the Right key, heuristics determine
443 # whether there is an element he might be trying to reach towards
444 # the right and which element he probably wants.
445 # Valid values: true, false
446 # Default: false
447 #
448 # links-included-in-focus-chain (Bool):
449 # Whether hyperlinks should be included in the keyboard focus chain.
450 # Valid values: true, false
451 # Default: true
452 #
453 # rocker-gestures (Bool):
454 # Whether to enable Opera-like mouse rocker gestures. This disables
455 # the context menu.
456 # Valid values: true, false
457 # Default: false
458 #
459 # mouse-zoom-divider (Int):
460 # How much to divide the mouse wheel movements to translate them
461 # into zoom increments.
462 # Default: 512
463 timeout = 500
464 partial-timeout = 1000
465 insert-mode-on-plugins = false
466 auto-leave-insert-mode = true
467 auto-insert-mode = false
468 forward-unbound-keys = auto
469 spatial-navigation = false
470 links-included-in-focus-chain = true
471 rocker-gestures = false
472 mouse-zoom-divider = 512
473
474 [tabs]
475 # Configuration of the tab bar.
476 #
477 # background-tabs (Bool):
478 # Whether to open new tabs (middleclick/ctrl+click) in background.
479 # Valid values: true, false
480 # Default: false
481 #
482 # select-on-remove:
483 # Which tab to select when the focused tab is removed.
484 # left: Select the tab on the left.
485 # right: Select the tab on the right.
486 # previous: Select the previously selected tab.
487 # Default: right
488 #
489 # new-tab-position:
490 # How new tabs are positioned.
491 # left: On the left of the current tab.
492 # right: On the right of the current tab.
493 # first: At the left end.
494 # last: At the right end.
495 # Default: right
496 #
497 # new-tab-position-explicit:
498 # How new tabs opened explicitly are positioned.
499 # left: On the left of the current tab.
500 # right: On the right of the current tab.
501 # first: At the left end.
502 # last: At the right end.
503 # Default: last
504 #
505 # last-close:
506 # Behavior when the last tab is closed.
507 # ignore: Don't do anything.
508 # blank: Load a blank page.
509 # startpage: Load the start page.
510 # default-page: Load the default page.
511 # close: Close the window.
512 # Default: ignore
513 #
514 # show (TabBarShow):
515 # When to show the tab bar
516 # always: Always show the tab bar.
517 # never: Always hide the tab bar.
518 # multiple: Hide the tab bar if only one tab is open.
519 # switching: Show the tab bar when switching tabs.
520 # Default: always
521 #
522 # show-switching-delay (Int):
523 # Time to show the tab bar before hiding it when tabs->show is set
524 # to 'switching'.
525 # Default: 800
526 #
527 # wrap (Bool):
528 # Whether to wrap when changing tabs.
529 # Valid values: true, false
530 # Default: true
531 #
532 # movable (Bool):
533 # Whether tabs should be movable.
534 # Valid values: true, false
535 # Default: true
536 #
537 # close-mouse-button:
538 # On which mouse button to close tabs.
539 # right: Close tabs on right-click.
540 # middle: Close tabs on middle-click.
541 # none: Don't close tabs using the mouse.
542 # Default: middle
543 #
544 # position (Position):
545 # The position of the tab bar.
546 # Valid values: top, bottom, left, right
547 # Default: top
548 #
549 # show-favicons (Bool):
550 # Whether to show favicons in the tab bar.
551 # Valid values: true, false
552 # Default: true
553 #
554 # width (PercOrInt):
555 # The width of the tab bar if it's vertical, in px or as percentage
556 # of the window.
557 # Default: 20%
558 #
559 # indicator-width (Int):
560 # Width of the progress indicator (0 to disable).
561 # Default: 3
562 #
563 # tabs-are-windows (Bool):
564 # Whether to open windows instead of tabs.
565 # Valid values: true, false
566 # Default: false
567 #
568 # title-format (FormatString):
569 # The format to use for the tab title. The following placeholders
570 # are defined:
571 # * `{perc}`: The percentage as a string like `[10%]`.
572 # * `{perc_raw}`: The raw percentage, e.g. `10`
573 # * `{title}`: The title of the current web page
574 # * `{title_sep}`: The string ` - ` if a title is set, empty
575 # otherwise.
576 # * `{index}`: The index of this tab.
577 # * `{id}`: The internal tab ID of this tab.
578 # Default: {index}: {title}
579 #
580 # mousewheel-tab-switching (Bool):
581 # Switch between tabs using the mouse wheel.
582 # Valid values: true, false
583 # Default: true
584 #
585 # padding (Padding):
586 # Padding for tabs (top, bottom, left, right).
587 # Default: 0,0,5,5
588 #
589 # indicator-padding (Padding):
590 # Padding for indicators (top, bottom, left, right).
591 # Default: 2,2,0,4
592 background-tabs = false
593 select-on-remove = left
594 new-tab-position = right
595 new-tab-position-explicit = right
596 last-close = ignore
597 show = always
598 show-switching-delay = 800
599 wrap = true
600 movable = true
601 close-mouse-button = middle
602 position = top
603 show-favicons = true
604 width = 20%
605 indicator-width = 3
606 tabs-are-windows = false
607 title-format = {index}: {title}
608 mousewheel-tab-switching = true
609 padding = 0,0,5,5
610 indicator-padding = 2,2,0,4
611
612 [storage]
613 # Settings related to cache and storage.
614 #
615 # download-directory (Directory):
616 # The directory to save downloads to. An empty value selects a
617 # sensible os-specific default. Will expand environment variables.
618 # Default:
619 #
620 # prompt-download-directory (Bool):
621 # Whether to prompt the user for the download location.
622 # If set to false, 'download-directory' will be used.
623 # Valid values: true, false
624 # Default: true
625 #
626 # remember-download-directory (Bool):
627 # Whether to remember the last used download directory.
628 # Valid values: true, false
629 # Default: true
630 #
631 # maximum-pages-in-cache (Int):
632 # The maximum number of pages to hold in the global memory page
633 # cache.
634 # The Page Cache allows for a nicer user experience when navigating
635 # forth or back to pages in the forward/back history, by pausing and
636 # resuming up to _n_ pages.
637 # For more information about the feature, please refer to:
638 # http://webkit.org/blog/427/webkit-page-cache-i-the-basics/
639 # Default:
640 #
641 # object-cache-capacities (WebKitBytesList):
642 # The capacities for the global memory cache for dead objects such
643 # as stylesheets or scripts. Syntax: cacheMinDeadCapacity,
644 # cacheMaxDead, totalCapacity.
645 # The _cacheMinDeadCapacity_ specifies the minimum number of bytes
646 # that dead objects should consume when the cache is under pressure.
647 # _cacheMaxDead_ is the maximum number of bytes that dead objects
648 # should consume when the cache is *not* under pressure.
649 # _totalCapacity_ specifies the maximum number of bytes that the
650 # cache should consume *overall*.
651 # Default:
652 #
653 # offline-storage-default-quota (WebKitBytes):
654 # Default quota for new offline storage databases.
655 # Default:
656 #
657 # offline-web-application-cache-quota (WebKitBytes):
658 # Quota for the offline web application cache.
659 # Default:
660 #
661 # offline-storage-database (Bool):
662 # Whether support for the HTML 5 offline storage feature is enabled.
663 # Valid values: true, false
664 # Default: true
665 #
666 # offline-web-application-storage (Bool):
667 # Whether support for the HTML 5 web application cache feature is
668 # enabled.
669 # An application cache acts like an HTTP cache in some sense. For
670 # documents that use the application cache via JavaScript, the
671 # loader engine will first ask the application cache for the
672 # contents, before hitting the network.
673 # The feature is described in details at:
674 # http://dev.w3.org/html5/spec/Overview.html#appcache
675 # Valid values: true, false
676 # Default: true
677 #
678 # local-storage (Bool):
679 # Whether support for the HTML 5 local storage feature is enabled.
680 # Valid values: true, false
681 # Default: true
682 #
683 # cache-size (Int):
684 # Size of the HTTP network cache.
685 # Default: 52428800
686 download-directory = ~/downloads
687 prompt-download-directory = true
688 remember-download-directory = true
689 maximum-pages-in-cache =
690 object-cache-capacities =
691 offline-storage-default-quota =
692 offline-web-application-cache-quota =
693 offline-storage-database = true
694 offline-web-application-storage = true
695 local-storage = true
696 cache-size = 52428800
697
698 [content]
699 # Loaded plugins/scripts and allowed actions.
700 #
701 # allow-images (Bool):
702 # Whether images are automatically loaded in web pages.
703 # Valid values: true, false
704 # Default: true
705 #
706 # allow-javascript (Bool):
707 # Enables or disables the running of JavaScript programs.
708 # Valid values: true, false
709 # Default: true
710 #
711 # allow-plugins (Bool):
712 # Enables or disables plugins in Web pages.
713 # Qt plugins with a mimetype such as "application/x-qt-plugin" are
714 # not affected by this setting.
715 # Valid values: true, false
716 # Default: false
717 #
718 # webgl (Bool):
719 # Enables or disables WebGL.
720 # Valid values: true, false
721 # Default: true
722 #
723 # css-regions (Bool):
724 # Enable or disable support for CSS regions.
725 # Valid values: true, false
726 # Default: true
727 #
728 # hyperlink-auditing (Bool):
729 # Enable or disable hyperlink auditing (<a ping>).
730 # Valid values: true, false
731 # Default: false
732 #
733 # geolocation (BoolAsk):
734 # Allow websites to request geolocations.
735 # Valid values: true, false, ask
736 # Default: ask
737 #
738 # notifications (BoolAsk):
739 # Allow websites to show notifications.
740 # Valid values: true, false, ask
741 # Default: ask
742 #
743 # javascript-can-open-windows (Bool):
744 # Whether JavaScript programs can open new windows.
745 # Valid values: true, false
746 # Default: false
747 #
748 # javascript-can-close-windows (Bool):
749 # Whether JavaScript programs can close windows.
750 # Valid values: true, false
751 # Default: false
752 #
753 # javascript-can-access-clipboard (Bool):
754 # Whether JavaScript programs can read or write to the clipboard.
755 # Valid values: true, false
756 # Default: false
757 #
758 # ignore-javascript-prompt (Bool):
759 # Whether all javascript prompts should be ignored.
760 # Valid values: true, false
761 # Default: false
762 #
763 # ignore-javascript-alert (Bool):
764 # Whether all javascript alerts should be ignored.
765 # Valid values: true, false
766 # Default: false
767 #
768 # local-content-can-access-remote-urls (Bool):
769 # Whether locally loaded documents are allowed to access remote
770 # urls.
771 # Valid values: true, false
772 # Default: false
773 #
774 # local-content-can-access-file-urls (Bool):
775 # Whether locally loaded documents are allowed to access other local
776 # urls.
777 # Valid values: true, false
778 # Default: true
779 #
780 # cookies-accept:
781 # Control which cookies to accept.
782 # all: Accept all cookies.
783 # no-3rdparty: Accept cookies from the same origin only.
784 # no-unknown-3rdparty: Accept cookies from the same origin only,
785 # unless a cookie is already set for the domain.
786 # never: Don't accept cookies at all.
787 # Default: no-3rdparty
788 #
789 # cookies-store (Bool):
790 # Whether to store cookies.
791 # Valid values: true, false
792 # Default: true
793 #
794 # host-block-lists (UrlList):
795 # List of URLs of lists which contain hosts to block.
796 # The file can be in one of the following formats:
797 # - An '/etc/hosts'-like file
798 # - One host per line
799 # - A zip-file of any of the above, with either only one file, or a
800 # file named 'hosts' (with any extension).
801 # Default:
802 # 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
803 #
804 # host-blocking-enabled (Bool):
805 # Whether host blocking is enabled.
806 # Valid values: true, false
807 # Default: true
808 #
809 # host-blocking-whitelist (List):
810 # List of domains that should always be loaded, despite being
811 # ad-blocked.
812 # Domains may contain * and ? wildcards and are otherwise required
813 # to exactly match the requested domain.
814 # Local domains are always exempt from hostblocking.
815 # Default: piwik.org
816 allow-images = true
817 allow-javascript = true
818 allow-plugins = false
819 webgl = true
820 css-regions = true
821 hyperlink-auditing = false
822 geolocation = ask
823 notifications = ask
824 javascript-can-open-windows = true
825 javascript-can-close-windows = true
826 javascript-can-access-clipboard = false
827 ignore-javascript-prompt = false
828 ignore-javascript-alert = false
829 local-content-can-access-remote-urls = false
830 local-content-can-access-file-urls = true
831 cookies-accept = no-3rdparty
832 cookies-store = true
833 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
834 host-blocking-enabled = true
835 host-blocking-whitelist = piwik.org
836
837 [hints]
838 # Hinting settings.
839 #
840 # border (String):
841 # CSS border value for hints.
842 # Default: 1px solid #E3BE23
843 #
844 # opacity (Float):
845 # Opacity for hints.
846 # Default: 0.7
847 #
848 # mode:
849 # Mode to use for hints.
850 # number: Use numeric hints.
851 # letter: Use the chars in the hints -> chars setting.
852 # Default: letter
853 #
854 # chars (String):
855 # Chars used for hint strings.
856 # Default: asdfghjkl
857 #
858 # min-chars (Int):
859 # Mininum number of chars used for hint strings.
860 # Default: 1
861 #
862 # scatter (Bool):
863 # Whether to scatter hint key chains (like Vimium) or not (like
864 # dwb).
865 # Valid values: true, false
866 # Default: true
867 #
868 # uppercase (Bool):
869 # Make chars in hint strings uppercase.
870 # Valid values: true, false
871 # Default: false
872 #
873 # auto-follow (Bool):
874 # Whether to auto-follow a hint if there's only one left.
875 # Valid values: true, false
876 # Default: true
877 #
878 # next-regexes (RegexList):
879 # A comma-separated list of regexes to use for 'next' links.
880 # Default:
881 # \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b,\bcontinue\b
882 #
883 # prev-regexes (RegexList):
884 # A comma-separated list of regexes to use for 'prev' links.
885 # Default: \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b
886 border = 1px solid #E3BE23
887 opacity = 0.7
888 mode = letter
889 chars = aoeuidhtns
890 min-chars = 1
891 scatter = true
892 uppercase = true
893 auto-follow = true
894 next-regexes = \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b
895 prev-regexes = \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b
896
897 [searchengines]
898 # Definitions of search engines which can be used via the address bar.
899 # The searchengine named `DEFAULT` is used when `general -> auto-search`
900 # is true and something else than a URL was entered to be opened. Other
901 # search engines can be used by prepending the search engine name to the
902 # search term, e.g. `:open google qutebrowser`. The string `{}` will be
903 # replaced by the search term, use `{{` and `}}` for literal `{`/`}`
904 # signs.
905 DEFAULT = ${duckduckgo}
906 duckduckgo = https://duckduckgo.com/?q={}
907 ddg = ${duckduckgo}
908 google = https://encrypted.google.com/search?q={}
909 g = ${google}
910 wikipedia = http://en.wikipedia.org/w/index.php?title=Special:Search&search={}
911 wiki = ${wikipedia}
912 pcl = http://docs.pointclouds.org/trunk/search.php?query={}
913
914 [aliases]
915 # Aliases for commands.
916 # By default, no aliases are defined. Example which adds a new command
917 # `:qtb` to open qutebrowsers website:
918 # `qtb = open http://www.qutebrowser.org/`
919 quit = close
920 q = close
921 exit = quit
922
923 [colors]
924 # Colors used in the UI.
925 # A value can be in one of the following format:
926 # * `#RGB`/`#RRGGBB`/`#RRRGGGBBB`/`#RRRRGGGGBBBB`
927 # * A SVG color name as specified in http://www.w3.org/TR/SVG/types.html#ColorKeywords[the W3C specification].
928 # * transparent (no color)
929 # * `rgb(r, g, b)` / `rgba(r, g, b, a)` (values 0-255 or percentages)
930 # * `hsv(h, s, v)` / `hsva(h, s, v, a)` (values 0-255, hue 0-359)
931 # * A gradient as explained in http://doc.qt.io/qt-5/stylesheet-reference.html#list-of-property-types[the Qt documentation] under ``Gradient''.
932 # A *.system value determines the color system to use for color
933 # interpolation between similarly-named *.start and *.stop entries,
934 # regardless of how they are defined in the options. Valid values are
935 # 'rgb', 'hsv', and 'hsl'.
936 # 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].
937 #
938 # completion.fg (QtColor):
939 # Text color of the completion widget.
940 # Default: white
941 #
942 # completion.bg (QssColor):
943 # Background color of the completion widget.
944 # Default: #333333
945 #
946 # completion.alternate-bg (QssColor):
947 # Alternating background color of the completion widget.
948 # Default: #444444
949 #
950 # completion.category.fg (QtColor):
951 # Foreground color of completion widget category headers.
952 # Default: white
953 #
954 # completion.category.bg (QssColor):
955 # Background color of the completion widget category headers.
956 # Default: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #888888,
957 # stop:1 #505050)
958 #
959 # completion.category.border.top (QssColor):
960 # Top border color of the completion widget category headers.
961 # Default: black
962 #
963 # completion.category.border.bottom (QssColor):
964 # Bottom border color of the completion widget category headers.
965 # Default: ${completion.category.border.top}
966 #
967 # completion.item.selected.fg (QtColor):
968 # Foreground color of the selected completion item.
969 # Default: black
970 #
971 # completion.item.selected.bg (QssColor):
972 # Background color of the selected completion item.
973 # Default: #e8c000
974 #
975 # completion.item.selected.border.top (QssColor):
976 # Top border color of the completion widget category headers.
977 # Default: #bbbb00
978 #
979 # completion.item.selected.border.bottom (QssColor):
980 # Bottom border color of the selected completion item.
981 # Default: ${completion.item.selected.border.top}
982 #
983 # completion.match.fg (QssColor):
984 # Foreground color of the matched text in the completion.
985 # Default: #ff4444
986 #
987 # statusbar.fg (QssColor):
988 # Foreground color of the statusbar.
989 # Default: white
990 #
991 # statusbar.bg (QssColor):
992 # Foreground color of the statusbar.
993 # Default: black
994 #
995 # statusbar.fg.error (QssColor):
996 # Foreground color of the statusbar if there was an error.
997 # Default: ${statusbar.fg}
998 #
999 # statusbar.bg.error (QssColor):
1000 # Background color of the statusbar if there was an error.
1001 # Default: red
1002 #
1003 # statusbar.fg.warning (QssColor):
1004 # Foreground color of the statusbar if there is a warning.
1005 # Default: ${statusbar.fg}
1006 #
1007 # statusbar.bg.warning (QssColor):
1008 # Background color of the statusbar if there is a warning.
1009 # Default: darkorange
1010 #
1011 # statusbar.fg.prompt (QssColor):
1012 # Foreground color of the statusbar if there is a prompt.
1013 # Default: ${statusbar.fg}
1014 #
1015 # statusbar.bg.prompt (QssColor):
1016 # Background color of the statusbar if there is a prompt.
1017 # Default: darkblue
1018 #
1019 # statusbar.fg.insert (QssColor):
1020 # Foreground color of the statusbar in insert mode.
1021 # Default: ${statusbar.fg}
1022 #
1023 # statusbar.bg.insert (QssColor):
1024 # Background color of the statusbar in insert mode.
1025 # Default: darkgreen
1026 #
1027 # statusbar.fg.command (QssColor):
1028 # Foreground color of the statusbar in command mode.
1029 # Default: ${statusbar.fg}
1030 #
1031 # statusbar.bg.command (QssColor):
1032 # Background color of the statusbar in command mode.
1033 # Default: ${statusbar.bg}
1034 #
1035 # statusbar.fg.caret (QssColor):
1036 # Foreground color of the statusbar in caret mode.
1037 # Default: ${statusbar.fg}
1038 #
1039 # statusbar.bg.caret (QssColor):
1040 # Background color of the statusbar in caret mode.
1041 # Default: purple
1042 #
1043 # statusbar.fg.caret-selection (QssColor):
1044 # Foreground color of the statusbar in caret mode with a selection
1045 # Default: ${statusbar.fg}
1046 #
1047 # statusbar.bg.caret-selection (QssColor):
1048 # Background color of the statusbar in caret mode with a selection
1049 # Default: #a12dff
1050 #
1051 # statusbar.progress.bg (QssColor):
1052 # Background color of the progress bar.
1053 # Default: white
1054 #
1055 # statusbar.url.fg (QssColor):
1056 # Default foreground color of the URL in the statusbar.
1057 # Default: ${statusbar.fg}
1058 #
1059 # statusbar.url.fg.success (QssColor):
1060 # Foreground color of the URL in the statusbar on successful load.
1061 # Default: lime
1062 #
1063 # statusbar.url.fg.error (QssColor):
1064 # Foreground color of the URL in the statusbar on error.
1065 # Default: orange
1066 #
1067 # statusbar.url.fg.warn (QssColor):
1068 # Foreground color of the URL in the statusbar when there's a
1069 # warning.
1070 # Default: yellow
1071 #
1072 # statusbar.url.fg.hover (QssColor):
1073 # Foreground color of the URL in the statusbar for hovered links.
1074 # Default: aqua
1075 #
1076 # tabs.fg.odd (QtColor):
1077 # Foreground color of unselected odd tabs.
1078 # Default: white
1079 #
1080 # tabs.bg.odd (QtColor):
1081 # Background color of unselected odd tabs.
1082 # Default: grey
1083 #
1084 # tabs.fg.even (QtColor):
1085 # Foreground color of unselected even tabs.
1086 # Default: white
1087 #
1088 # tabs.bg.even (QtColor):
1089 # Background color of unselected even tabs.
1090 # Default: darkgrey
1091 #
1092 # tabs.fg.selected (QtColor):
1093 # Foreground color of selected tabs.
1094 # Default: white
1095 #
1096 # tabs.bg.selected (QtColor):
1097 # Background color of selected tabs.
1098 # Default: black
1099 #
1100 # tabs.bg.bar (QtColor):
1101 # Background color of the tab bar.
1102 # Default: #555555
1103 #
1104 # tabs.indicator.start (QtColor):
1105 # Color gradient start for the tab indicator.
1106 # Default: #0000aa
1107 #
1108 # tabs.indicator.stop (QtColor):
1109 # Color gradient end for the tab indicator.
1110 # Default: #00aa00
1111 #
1112 # tabs.indicator.error (QtColor):
1113 # Color for the tab indicator on errors..
1114 # Default: #ff0000
1115 #
1116 # tabs.indicator.system:
1117 # Color gradient interpolation system for the tab indicator.
1118 # rgb: Interpolate in the RGB color system.
1119 # hsv: Interpolate in the HSV color system.
1120 # hsl: Interpolate in the HSL color system.
1121 # Default: rgb
1122 #
1123 # hints.fg (CssColor):
1124 # Font color for hints.
1125 # Default: black
1126 #
1127 # hints.bg (CssColor):
1128 # Background color for hints.
1129 # Default: -webkit-gradient(linear, left top, left bottom,
1130 # color-stop(0%,#FFF785), color-stop(100%,#FFC542))
1131 #
1132 # hints.fg.match (CssColor):
1133 # Font color for the matched part of hints.
1134 # Default: green
1135 #
1136 # downloads.bg.bar (QssColor):
1137 # Background color for the download bar.
1138 # Default: black
1139 #
1140 # downloads.fg.start (QtColor):
1141 # Color gradient start for download text.
1142 # Default: white
1143 #
1144 # downloads.bg.start (QtColor):
1145 # Color gradient start for download backgrounds.
1146 # Default: #0000aa
1147 #
1148 # downloads.fg.stop (QtColor):
1149 # Color gradient end for download text.
1150 # Default: ${downloads.fg.start}
1151 #
1152 # downloads.bg.stop (QtColor):
1153 # Color gradient stop for download backgrounds.
1154 # Default: #00aa00
1155 #
1156 # downloads.fg.system:
1157 # Color gradient interpolation system for download text.
1158 # rgb: Interpolate in the RGB color system.
1159 # hsv: Interpolate in the HSV color system.
1160 # hsl: Interpolate in the HSL color system.
1161 # Default: rgb
1162 #
1163 # downloads.bg.system:
1164 # Color gradient interpolation system for download backgrounds.
1165 # rgb: Interpolate in the RGB color system.
1166 # hsv: Interpolate in the HSV color system.
1167 # hsl: Interpolate in the HSL color system.
1168 # Default: rgb
1169 #
1170 # downloads.fg.error (QtColor):
1171 # Foreground color for downloads with errors.
1172 # Default: white
1173 #
1174 # downloads.bg.error (QtColor):
1175 # Background color for downloads with errors.
1176 # Default: red
1177 #
1178 # webpage.bg (QtColor):
1179 # Background color for webpages if unset (or empty to use the
1180 # theme's color)
1181 # Default: white
1182 completion.fg = white
1183 completion.bg = #333333
1184 completion.alternate-bg = #444444
1185 completion.category.fg = white
1186 completion.category.bg = qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #888888, stop:1 #505050)
1187 completion.category.border.top = black
1188 completion.category.border.bottom = ${completion.category.border.top}
1189 completion.item.selected.fg = black
1190 completion.item.selected.bg = #e8c000
1191 completion.item.selected.border.top = #bbbb00
1192 completion.item.selected.border.bottom = ${completion.item.selected.border.top}
1193 completion.match.fg = #ff4444
1194 statusbar.fg = white
1195 statusbar.bg = black
1196 statusbar.fg.error = ${statusbar.fg}
1197 statusbar.bg.error = red
1198 statusbar.fg.warning = ${statusbar.fg}
1199 statusbar.bg.warning = darkorange
1200 statusbar.fg.prompt = ${statusbar.fg}
1201 statusbar.bg.prompt = darkblue
1202 statusbar.fg.insert = ${statusbar.fg}
1203 statusbar.bg.insert = darkgreen
1204 statusbar.fg.command = ${statusbar.fg}
1205 statusbar.bg.command = ${statusbar.bg}
1206 statusbar.fg.caret = ${statusbar.fg}
1207 statusbar.bg.caret = purple
1208 statusbar.fg.caret-selection = ${statusbar.fg}
1209 statusbar.bg.caret-selection = #a12dff
1210 statusbar.progress.bg = white
1211 statusbar.url.fg = ${statusbar.fg}
1212 statusbar.url.fg.success = lime
1213 statusbar.url.fg.error = orange
1214 statusbar.url.fg.warn = yellow
1215 statusbar.url.fg.hover = aqua
1216 tabs.fg.odd = white
1217 tabs.bg.odd = grey
1218 tabs.fg.even = white
1219 tabs.bg.even = darkgrey
1220 tabs.fg.selected = white
1221 tabs.bg.selected = black
1222 tabs.bg.bar = #555555
1223 tabs.indicator.start = #0000aa
1224 tabs.indicator.stop = #00aa00
1225 tabs.indicator.error = #ff0000
1226 tabs.indicator.system = rgb
1227 hints.fg = black
1228 hints.bg = -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF785), color-stop(100%,#FFC542))
1229 hints.fg.match = green
1230 downloads.bg.bar = black
1231 downloads.fg.start = #ffffff
1232 downloads.bg.start = #0000aa
1233 downloads.fg.stop = ${downloads.fg.start}
1234 downloads.bg.stop = #00aa00
1235 downloads.fg.system = rgb
1236 downloads.bg.system = rgb
1237 downloads.fg.error = white
1238 downloads.bg.error = red
1239 webpage.bg = white
1240
1241 [fonts]
1242 # Fonts used for the UI, with optional style/weight/size.
1243 # * Style: `normal`/`italic`/`oblique`
1244 # * Weight: `normal`, `bold`, `100`..`900`
1245 # * Size: _number_ `px`/`pt`
1246 #
1247 # _monospace (Font):
1248 # Default monospace fonts.
1249 # Default: Terminus, Monospace, "DejaVu Sans Mono", Monaco,
1250 # "Bitstream Vera Sans Mono", "Andale Mono", "Liberation Mono",
1251 # "Courier New", Courier, monospace, Fixed, Consolas, Terminal
1252 #
1253 # completion (Font):
1254 # Font used in the completion widget.
1255 # Default: 10pt ${_monospace}
1256 #
1257 # tabbar (QtFont):
1258 # Font used in the tab bar.
1259 # Default: 10pt ${_monospace}
1260 #
1261 # statusbar (Font):
1262 # Font used in the statusbar.
1263 # Default: 10pt ${_monospace}
1264 #
1265 # downloads (Font):
1266 # Font used for the downloadbar.
1267 # Default: 10pt ${_monospace}
1268 #
1269 # hints (Font):
1270 # Font used for the hints.
1271 # Default: bold 13px Monospace
1272 #
1273 # debug-console (QtFont):
1274 # Font used for the debugging console.
1275 # Default: 10pt ${_monospace}
1276 #
1277 # web-family-standard (FontFamily):
1278 # Font family for standard fonts.
1279 # Default:
1280 #
1281 # web-family-fixed (FontFamily):
1282 # Font family for fixed fonts.
1283 # Default:
1284 #
1285 # web-family-serif (FontFamily):
1286 # Font family for serif fonts.
1287 # Default:
1288 #
1289 # web-family-sans-serif (FontFamily):
1290 # Font family for sans-serif fonts.
1291 # Default:
1292 #
1293 # web-family-cursive (FontFamily):
1294 # Font family for cursive fonts.
1295 # Default:
1296 #
1297 # web-family-fantasy (FontFamily):
1298 # Font family for fantasy fonts.
1299 # Default:
1300 #
1301 # web-size-minimum (Int):
1302 # The hard minimum font size.
1303 # Default:
1304 #
1305 # web-size-minimum-logical (Int):
1306 # The minimum logical font size that is applied when zooming out.
1307 # Default:
1308 #
1309 # web-size-default (Int):
1310 # The default font size for regular text.
1311 # Default:
1312 #
1313 # web-size-default-fixed (Int):
1314 # The default font size for fixed-pitch text.
1315 # Default:
1316 _monospace = Terminus, Monospace, "DejaVu Sans Mono", Monaco, "Bitstream Vera Sans Mono", "Andale Mono", "Liberation Mono", "Courier New", Courier, monospace, Fixed, Consolas, Terminal
1317 completion = 8pt ${_monospace}
1318 tabbar = 8pt ${_monospace}
1319 statusbar = 8pt ${_monospace}
1320 downloads = 8pt ${_monospace}
1321 hints = bold 12px Monospace
1322 debug-console = 8pt ${_monospace}
1323 web-family-standard =
1324 web-family-fixed =
1325 web-family-serif =
1326 web-family-sans-serif =
1327 web-family-cursive =
1328 web-family-fantasy =
1329 web-size-minimum =
1330 web-size-minimum-logical =
1331 web-size-default =
1332 web-size-default-fixed =