]> git.rmz.io Git - dotfiles.git/blob - qutebrowser/qutebrowser.conf
gpg: cleanup gpg.conf
[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://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 # The arguments get split like in a shell, so you can use `"` or `'`
71 # to quote them.
72 # `{}` gets replaced by the filename of the file to be edited.
73 # Default: gvim -f "{}"
74 #
75 # editor-encoding (Encoding):
76 # Encoding to use for editor.
77 # Default: utf-8
78 #
79 # private-browsing (Bool):
80 # Do not record visited pages in the history or store web page
81 # icons.
82 # Valid values: true, false
83 # Default: false
84 #
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
90 # Default: false
91 #
92 # print-element-backgrounds (Bool):
93 # Whether the background color and images are also drawn when the
94 # page is printed.
95 # Valid values: true, false
96 # Default: true
97 #
98 # xss-auditing (Bool):
99 # Whether load requests should be monitored for cross-site scripting
100 # attempts.
101 # Suspicious scripts will be blocked and reported in the inspector's
102 # JavaScript console. Enabling this feature might have an impact on
103 # performance.
104 # Valid values: true, false
105 # Default: false
106 #
107 # site-specific-quirks (Bool):
108 # Enable workarounds for broken sites.
109 # Valid values: true, false
110 # Default: true
111 #
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
116 # used.
117 # Default:
118 #
119 # new-instance-open-target:
120 # How to open links in an existing instance if a new one is
121 # launched.
122 # tab: Open a new tab in the existing window and activate the
123 # window.
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.
131 # Default: tab
132 #
133 # log-javascript-console (Bool):
134 # Whether to log javascript console messages.
135 # Valid values: true, false
136 # Default: false
137 #
138 # save-session (Bool):
139 # Whether to always save the open pages.
140 # Valid values: true, false
141 # Default: false
142 #
143 # session-default-name:
144 # The name of the session to save by default, or empty for the last
145 # loaded session.
146 # Default:
147 #
148 # url-incdec-segments (URLSegmentList):
149 # The URL segments where `:navigate increment/decrement` will search
150 # for a number.
151 # Valid values: host, path, query, anchor
152 # Default: path,query
153 ignore-case = smart
154 wrap-search = true
155 startpage = https://duckduckgo.com/?t=chakra
156 default-page = ${startpage}
157 auto-search = naive
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
165 xss-auditing = false
166 site-specific-quirks = true
167 default-encoding =
168 new-instance-open-target = tab
169 log-javascript-console = false
170 save-session = true
171 session-default-name =
172 url-incdec-segments = path,query
173
174 [ui]
175 # General options related to the user interface.
176 #
177 # zoom-levels (PercList):
178 # The available zoom levels, separated by commas.
179 # Default:
180 # 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
181 #
182 # default-zoom (Perc):
183 # The default zoom level.
184 # Default: 100%
185 #
186 # downloads-position (VerticalPosition):
187 # Where to show the downloaded files.
188 # Valid values: top, bottom
189 # Default: top
190 #
191 # message-timeout (Int):
192 # Time (in ms) to show messages in the statusbar for.
193 # Default: 2000
194 #
195 # message-unfocused (Bool):
196 # Whether to show messages in unfocused windows.
197 # Valid values: true, false
198 # Default: false
199 #
200 # confirm-quit:
201 # Whether to confirm quitting the application.
202 # always: Always show a confirmation.
203 # multiple-tabs: Show a confirmation if multiple tabs are
204 # opened.
205 # downloads: Show a confirmation if downloads are running
206 # never: Never show a confirmation.
207 # Default: never
208 #
209 # display-statusbar-messages (Bool):
210 # Whether to display javascript statusbar messages.
211 # Valid values: true, false
212 # Default: false
213 #
214 # zoom-text-only (Bool):
215 # Whether the zoom factor on a frame applies only to the text or to
216 # all content.
217 # Valid values: true, false
218 # Default: false
219 #
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
224 # Default: false
225 #
226 # user-stylesheet:
227 # User stylesheet to use (absolute filename, filename relative to
228 # the config directory or CSS string). Will expand environment
229 # variables.
230 # Default: ::-webkit-scrollbar { width: 0px; height: 0px; }
231 #
232 # css-media-type (String):
233 # Set the CSS media type.
234 # Default:
235 #
236 # smooth-scrolling (Bool):
237 # Whether to enable smooth scrolling for webpages.
238 # Valid values: true, false
239 # Default: false
240 #
241 # remove-finished-downloads (Int):
242 # Number of milliseconds to wait before removing finished downloads.
243 # Will not be removed if value is -1.
244 # Default: -1
245 #
246 # hide-statusbar (Bool):
247 # Whether to hide the statusbar unless a message is shown.
248 # Valid values: true, false
249 # Default: false
250 #
251 # statusbar-padding (Padding):
252 # Padding for statusbar (top, bottom, left, right).
253 # Default: 1,1,0,0
254 #
255 # window-title-format (FormatString):
256 # The format to use for the window title. The following placeholders
257 # are defined:
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
262 # otherwise.
263 # * `{id}`: The internal window ID of this window.
264 # * `{scroll_pos}`: The page scroll position.
265 # Default: {perc}{title}{title_sep}qutebrowser
266 #
267 # hide-mouse-cursor (Bool):
268 # Whether to hide the mouse cursor.
269 # Valid values: true, false
270 # Default: false
271 #
272 # modal-js-dialog (Bool):
273 # Use standard JavaScript modal dialog for alert() and confirm()
274 # Valid values: true, false
275 # Default: false
276 #
277 # hide-wayland-decoration (Bool):
278 # Hide the window decoration when using wayland (requires restart)
279 # Valid values: true, false
280 # Default: false
281 zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
282 default-zoom = 100%
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
291 css-media-type =
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
300
301 [network]
302 # Settings related to the network.
303 #
304 # do-not-track (Bool):
305 # Value to send in the `DNT` header.
306 # Valid values: true, false
307 # Default: true
308 #
309 # accept-language (String):
310 # Value to send in the `accept-language` header.
311 # Default: en-US,en
312 #
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
317 # break.
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
321 #
322 # user-agent:
323 # User agent to send. Empty to send the default.
324 # Default:
325 #
326 # proxy:
327 # The proxy to use.
328 # In addition to the listed values, you can use a `socks://...` or
329 # `http://...` URL.
330 # system: Use the system wide proxy.
331 # none: Don't use any proxy
332 # Default: system
333 #
334 # proxy-dns-requests (Bool):
335 # Whether to send DNS requests over the configured proxy.
336 # Valid values: true, false
337 # Default: true
338 #
339 # ssl-strict (BoolAsk):
340 # Whether to validate SSL handshakes.
341 # Valid values: true, false, ask
342 # Default: ask
343 #
344 # dns-prefetch (Bool):
345 # Whether to try to pre-fetch DNS entries to speed up browsing.
346 # Valid values: true, false
347 # Default: true
348 do-not-track = true
349 accept-language = en-US,en,de,fr
350 referer-header = same-domain
351 user-agent =
352 proxy = system
353 proxy-dns-requests = true
354 ssl-strict = ask
355 dns-prefetch = true
356
357 [completion]
358 # Options related to completion and command history.
359 #
360 # auto-open (Bool):
361 # Automatically open completion when typing.
362 # Valid values: true, false
363 # Default: true
364 #
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.
370 # Default: path
371 #
372 # timestamp-format (TimestampTemplate):
373 # How to format timestamps (e.g. for history)
374 # Default: %Y-%m-%d
375 #
376 # show (Bool):
377 # Whether to show the autocompletion window.
378 # Valid values: true, false
379 # Default: true
380 #
381 # height (PercOrInt):
382 # The height of the completion, in px or as percentage of the
383 # window.
384 # Default: 50%
385 #
386 # cmd-history-max-items (Int):
387 # How many commands to save in the command history.
388 # 0: no history / -1: unlimited
389 # Default: 100
390 #
391 # web-history-max-items (Int):
392 # How many URLs to show in the web history.
393 # 0: no history / -1: unlimited
394 # Default: 1000
395 #
396 # quick-complete (Bool):
397 # Whether to move on to the next part when there's only one possible
398 # completion left.
399 # Valid values: true, false
400 # Default: true
401 #
402 # shrink (Bool):
403 # Whether to shrink the completion to be smaller than the configured
404 # size if there are no scrollbars.
405 # Valid values: true, false
406 # Default: false
407 #
408 # scrollbar-width (Int):
409 # Width of the scrollbar in the completion window (in px).
410 # Default: 12
411 #
412 # scrollbar-padding (Int):
413 # Padding of scrollbar handle in completion window (in px).
414 # Default: 2
415 auto-open = true
416 download-path-suggestion = path
417 timestamp-format = %Y-%m-%d
418 show = true
419 height = 150
420 cmd-history-max-items = 100
421 web-history-max-items = 1000
422 quick-complete = false
423 shrink = true
424 scrollbar-width = 12
425 scrollbar-padding = 2
426
427 [input]
428 # Options related to input modes.
429 #
430 # timeout (Int):
431 # Timeout for ambiguous key bindings.
432 # Default: 500
433 #
434 # partial-timeout (Int):
435 # Timeout for partially typed key bindings.
436 # Default: 1000
437 #
438 # insert-mode-on-plugins (Bool):
439 # Whether to switch to insert mode when clicking flash and other
440 # plugins.
441 # Valid values: true, false
442 # Default: false
443 #
444 # auto-leave-insert-mode (Bool):
445 # Whether to leave insert mode if a non-editable element is clicked.
446 # Valid values: true, false
447 # Default: true
448 #
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
453 # Default: false
454 #
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.
460 # Default: auto
461 #
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
471 # Default: false
472 #
473 # links-included-in-focus-chain (Bool):
474 # Whether hyperlinks should be included in the keyboard focus chain.
475 # Valid values: true, false
476 # Default: true
477 #
478 # rocker-gestures (Bool):
479 # Whether to enable Opera-like mouse rocker gestures. This disables
480 # the context menu.
481 # Valid values: true, false
482 # Default: false
483 #
484 # mouse-zoom-divider (Int):
485 # How much to divide the mouse wheel movements to translate them
486 # into zoom increments.
487 # Default: 512
488 timeout = 500
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
498
499 [tabs]
500 # Configuration of the tab bar.
501 #
502 # background-tabs (Bool):
503 # Whether to open new tabs (middleclick/ctrl+click) in background.
504 # Valid values: true, false
505 # Default: false
506 #
507 # select-on-remove:
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.
512 # Default: right
513 #
514 # new-tab-position:
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.
520 # Default: right
521 #
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.
528 # Default: last
529 #
530 # last-close:
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.
537 # Default: ignore
538 #
539 # show (TabBarShow):
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.
545 # Default: always
546 #
547 # show-switching-delay (Int):
548 # Time to show the tab bar before hiding it when tabs->show is set
549 # to 'switching'.
550 # Default: 800
551 #
552 # wrap (Bool):
553 # Whether to wrap when changing tabs.
554 # Valid values: true, false
555 # Default: true
556 #
557 # movable (Bool):
558 # Whether tabs should be movable.
559 # Valid values: true, false
560 # Default: true
561 #
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.
567 # Default: middle
568 #
569 # position (Position):
570 # The position of the tab bar.
571 # Valid values: top, bottom, left, right
572 # Default: top
573 #
574 # show-favicons (Bool):
575 # Whether to show favicons in the tab bar.
576 # Valid values: true, false
577 # Default: true
578 #
579 # width (PercOrInt):
580 # The width of the tab bar if it's vertical, in px or as percentage
581 # of the window.
582 # Default: 20%
583 #
584 # indicator-width (Int):
585 # Width of the progress indicator (0 to disable).
586 # Default: 3
587 #
588 # tabs-are-windows (Bool):
589 # Whether to open windows instead of tabs.
590 # Valid values: true, false
591 # Default: false
592 #
593 # title-format (FormatString):
594 # The format to use for the tab title. The following placeholders
595 # are defined:
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
600 # otherwise.
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}
605 #
606 # mousewheel-tab-switching (Bool):
607 # Switch between tabs using the mouse wheel.
608 # Valid values: true, false
609 # Default: true
610 #
611 # padding (Padding):
612 # Padding for tabs (top, bottom, left, right).
613 # Default: 0,0,5,5
614 #
615 # indicator-padding (Padding):
616 # Padding for indicators (top, bottom, left, right).
617 # Default: 2,2,0,4
618 background-tabs = false
619 select-on-remove = left
620 new-tab-position = right
621 new-tab-position-explicit = right
622 last-close = ignore
623 show = always
624 show-switching-delay = 800
625 wrap = true
626 movable = true
627 close-mouse-button = middle
628 position = top
629 show-favicons = true
630 width = 20%
631 indicator-width = 3
632 tabs-are-windows = false
633 title-format = {index}: {title}
634 mousewheel-tab-switching = true
635 padding = 0,0,5,5
636 indicator-padding = 2,2,0,4
637
638 [storage]
639 # Settings related to cache and storage.
640 #
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.
644 # Default:
645 #
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
650 # Default: true
651 #
652 # remember-download-directory (Bool):
653 # Whether to remember the last used download directory.
654 # Valid values: true, false
655 # Default: true
656 #
657 # maximum-pages-in-cache (Int):
658 # The maximum number of pages to hold in the global memory page
659 # cache.
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/
665 # Default:
666 #
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*.
677 # Default:
678 #
679 # offline-storage-default-quota (WebKitBytes):
680 # Default quota for new offline storage databases.
681 # Default:
682 #
683 # offline-web-application-cache-quota (WebKitBytes):
684 # Quota for the offline web application cache.
685 # Default:
686 #
687 # offline-storage-database (Bool):
688 # Whether support for the HTML 5 offline storage feature is enabled.
689 # Valid values: true, false
690 # Default: true
691 #
692 # offline-web-application-storage (Bool):
693 # Whether support for the HTML 5 web application cache feature is
694 # enabled.
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
702 # Default: true
703 #
704 # local-storage (Bool):
705 # Whether support for the HTML 5 local storage feature is enabled.
706 # Valid values: true, false
707 # Default: true
708 #
709 # cache-size (Int):
710 # Size of the HTTP network cache.
711 # Default: 52428800
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
721 local-storage = true
722 cache-size = 52428800
723
724 [content]
725 # Loaded plugins/scripts and allowed actions.
726 #
727 # allow-images (Bool):
728 # Whether images are automatically loaded in web pages.
729 # Valid values: true, false
730 # Default: true
731 #
732 # allow-javascript (Bool):
733 # Enables or disables the running of JavaScript programs.
734 # Valid values: true, false
735 # Default: true
736 #
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
742 # Default: false
743 #
744 # webgl (Bool):
745 # Enables or disables WebGL.
746 # Valid values: true, false
747 # Default: true
748 #
749 # css-regions (Bool):
750 # Enable or disable support for CSS regions.
751 # Valid values: true, false
752 # Default: true
753 #
754 # hyperlink-auditing (Bool):
755 # Enable or disable hyperlink auditing (<a ping>).
756 # Valid values: true, false
757 # Default: false
758 #
759 # geolocation (BoolAsk):
760 # Allow websites to request geolocations.
761 # Valid values: true, false, ask
762 # Default: ask
763 #
764 # notifications (BoolAsk):
765 # Allow websites to show notifications.
766 # Valid values: true, false, ask
767 # Default: ask
768 #
769 # javascript-can-open-windows (Bool):
770 # Whether JavaScript programs can open new windows.
771 # Valid values: true, false
772 # Default: false
773 #
774 # javascript-can-close-windows (Bool):
775 # Whether JavaScript programs can close windows.
776 # Valid values: true, false
777 # Default: false
778 #
779 # javascript-can-access-clipboard (Bool):
780 # Whether JavaScript programs can read or write to the clipboard.
781 # Valid values: true, false
782 # Default: false
783 #
784 # ignore-javascript-prompt (Bool):
785 # Whether all javascript prompts should be ignored.
786 # Valid values: true, false
787 # Default: false
788 #
789 # ignore-javascript-alert (Bool):
790 # Whether all javascript alerts should be ignored.
791 # Valid values: true, false
792 # Default: false
793 #
794 # local-content-can-access-remote-urls (Bool):
795 # Whether locally loaded documents are allowed to access remote
796 # urls.
797 # Valid values: true, false
798 # Default: false
799 #
800 # local-content-can-access-file-urls (Bool):
801 # Whether locally loaded documents are allowed to access other local
802 # urls.
803 # Valid values: true, false
804 # Default: true
805 #
806 # cookies-accept:
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
814 #
815 # cookies-store (Bool):
816 # Whether to store cookies.
817 # Valid values: true, false
818 # Default: true
819 #
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).
827 # Default:
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
829 #
830 # host-blocking-enabled (Bool):
831 # Whether host blocking is enabled.
832 # Valid values: true, false
833 # Default: true
834 #
835 # host-blocking-whitelist (List):
836 # List of domains that should always be loaded, despite being
837 # ad-blocked.
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.
841 # Default: piwik.org
842 allow-images = true
843 allow-javascript = true
844 allow-plugins = false
845 webgl = true
846 css-regions = true
847 hyperlink-auditing = false
848 geolocation = ask
849 notifications = ask
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
858 cookies-store = true
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
862
863 [hints]
864 # Hinting settings.
865 #
866 # border (String):
867 # CSS border value for hints.
868 # Default: 1px solid #E3BE23
869 #
870 # opacity (Float):
871 # Opacity for hints.
872 # Default: 0.7
873 #
874 # mode:
875 # Mode to use for hints.
876 # number: Use numeric hints.
877 # letter: Use the chars in the hints -> chars setting.
878 # Default: letter
879 #
880 # chars (String):
881 # Chars used for hint strings.
882 # Default: asdfghjkl
883 #
884 # min-chars (Int):
885 # Minimum number of chars used for hint strings.
886 # Default: 1
887 #
888 # scatter (Bool):
889 # Whether to scatter hint key chains (like Vimium) or not (like
890 # dwb).
891 # Valid values: true, false
892 # Default: true
893 #
894 # uppercase (Bool):
895 # Make chars in hint strings uppercase.
896 # Valid values: true, false
897 # Default: false
898 #
899 # auto-follow (Bool):
900 # Whether to auto-follow a hint if there's only one left.
901 # Valid values: true, false
902 # Default: true
903 #
904 # next-regexes (RegexList):
905 # A comma-separated list of regexes to use for 'next' links.
906 # Default:
907 # \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b,\bcontinue\b
908 #
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
913 opacity = 0.7
914 mode = letter
915 chars = aoeuidhtns
916 min-chars = 1
917 scatter = true
918 uppercase = true
919 auto-follow = true
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
922
923 [searchengines]
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 `{`/`}`
930 # signs.
931 DEFAULT = ${duckduckgo}
932 duckduckgo = https://duckduckgo.com/?t=chakra&q={}
933 ddg = ${duckduckgo}
934 google = https://encrypted.google.com/search?q={}
935 g = ${google}
936 wikipedia = http://en.wikipedia.org/w/index.php?title=Special:Search&search={}
937 wiki = ${wikipedia}
938 pcl = http://docs.pointclouds.org/trunk/search.php?query={}
939
940 [aliases]
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/`
945 quit = close
946 q = close
947 exit = quit
948
949 [colors]
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].
963 #
964 # completion.fg (QtColor):
965 # Text color of the completion widget.
966 # Default: white
967 #
968 # completion.bg (QssColor):
969 # Background color of the completion widget.
970 # Default: #333333
971 #
972 # completion.alternate-bg (QssColor):
973 # Alternating background color of the completion widget.
974 # Default: #444444
975 #
976 # completion.category.fg (QtColor):
977 # Foreground color of completion widget category headers.
978 # Default: white
979 #
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,
983 # stop:1 #505050)
984 #
985 # completion.category.border.top (QssColor):
986 # Top border color of the completion widget category headers.
987 # Default: black
988 #
989 # completion.category.border.bottom (QssColor):
990 # Bottom border color of the completion widget category headers.
991 # Default: ${completion.category.border.top}
992 #
993 # completion.item.selected.fg (QtColor):
994 # Foreground color of the selected completion item.
995 # Default: black
996 #
997 # completion.item.selected.bg (QssColor):
998 # Background color of the selected completion item.
999 # Default: #e8c000
1000 #
1001 # completion.item.selected.border.top (QssColor):
1002 # Top border color of the completion widget category headers.
1003 # Default: #bbbb00
1004 #
1005 # completion.item.selected.border.bottom (QssColor):
1006 # Bottom border color of the selected completion item.
1007 # Default: ${completion.item.selected.border.top}
1008 #
1009 # completion.match.fg (QssColor):
1010 # Foreground color of the matched text in the completion.
1011 # Default: #ff4444
1012 #
1013 # completion.scrollbar.fg (QssColor):
1014 # Color of the scrollbar handle in completion view.
1015 # Default: ${completion.fg}
1016 #
1017 # completion.scrollbar.bg (QssColor):
1018 # Color of the scrollbar in completion view
1019 # Default: ${completion.bg}
1020 #
1021 # statusbar.fg (QssColor):
1022 # Foreground color of the statusbar.
1023 # Default: white
1024 #
1025 # statusbar.bg (QssColor):
1026 # Background color of the statusbar.
1027 # Default: black
1028 #
1029 # statusbar.fg.error (QssColor):
1030 # Foreground color of the statusbar if there was an error.
1031 # Default: ${statusbar.fg}
1032 #
1033 # statusbar.bg.error (QssColor):
1034 # Background color of the statusbar if there was an error.
1035 # Default: red
1036 #
1037 # statusbar.fg.warning (QssColor):
1038 # Foreground color of the statusbar if there is a warning.
1039 # Default: ${statusbar.fg}
1040 #
1041 # statusbar.bg.warning (QssColor):
1042 # Background color of the statusbar if there is a warning.
1043 # Default: darkorange
1044 #
1045 # statusbar.fg.prompt (QssColor):
1046 # Foreground color of the statusbar if there is a prompt.
1047 # Default: ${statusbar.fg}
1048 #
1049 # statusbar.bg.prompt (QssColor):
1050 # Background color of the statusbar if there is a prompt.
1051 # Default: darkblue
1052 #
1053 # statusbar.fg.insert (QssColor):
1054 # Foreground color of the statusbar in insert mode.
1055 # Default: ${statusbar.fg}
1056 #
1057 # statusbar.bg.insert (QssColor):
1058 # Background color of the statusbar in insert mode.
1059 # Default: darkgreen
1060 #
1061 # statusbar.fg.command (QssColor):
1062 # Foreground color of the statusbar in command mode.
1063 # Default: ${statusbar.fg}
1064 #
1065 # statusbar.bg.command (QssColor):
1066 # Background color of the statusbar in command mode.
1067 # Default: ${statusbar.bg}
1068 #
1069 # statusbar.fg.caret (QssColor):
1070 # Foreground color of the statusbar in caret mode.
1071 # Default: ${statusbar.fg}
1072 #
1073 # statusbar.bg.caret (QssColor):
1074 # Background color of the statusbar in caret mode.
1075 # Default: purple
1076 #
1077 # statusbar.fg.caret-selection (QssColor):
1078 # Foreground color of the statusbar in caret mode with a selection
1079 # Default: ${statusbar.fg}
1080 #
1081 # statusbar.bg.caret-selection (QssColor):
1082 # Background color of the statusbar in caret mode with a selection
1083 # Default: #a12dff
1084 #
1085 # statusbar.progress.bg (QssColor):
1086 # Background color of the progress bar.
1087 # Default: white
1088 #
1089 # statusbar.url.fg (QssColor):
1090 # Default foreground color of the URL in the statusbar.
1091 # Default: ${statusbar.fg}
1092 #
1093 # statusbar.url.fg.success (QssColor):
1094 # Foreground color of the URL in the statusbar on successful load
1095 # (http).
1096 # Default: white
1097 #
1098 # statusbar.url.fg.success.https (QssColor):
1099 # Foreground color of the URL in the statusbar on successful load
1100 # (https).
1101 # Default: lime
1102 #
1103 # statusbar.url.fg.error (QssColor):
1104 # Foreground color of the URL in the statusbar on error.
1105 # Default: orange
1106 #
1107 # statusbar.url.fg.warn (QssColor):
1108 # Foreground color of the URL in the statusbar when there's a
1109 # warning.
1110 # Default: yellow
1111 #
1112 # statusbar.url.fg.hover (QssColor):
1113 # Foreground color of the URL in the statusbar for hovered links.
1114 # Default: aqua
1115 #
1116 # tabs.fg.odd (QtColor):
1117 # Foreground color of unselected odd tabs.
1118 # Default: white
1119 #
1120 # tabs.bg.odd (QtColor):
1121 # Background color of unselected odd tabs.
1122 # Default: grey
1123 #
1124 # tabs.fg.even (QtColor):
1125 # Foreground color of unselected even tabs.
1126 # Default: white
1127 #
1128 # tabs.bg.even (QtColor):
1129 # Background color of unselected even tabs.
1130 # Default: darkgrey
1131 #
1132 # tabs.fg.selected.odd (QtColor):
1133 # Foreground color of selected odd tabs.
1134 # Default: white
1135 #
1136 # tabs.bg.selected.odd (QtColor):
1137 # Background color of selected odd tabs.
1138 # Default: black
1139 #
1140 # tabs.fg.selected.even (QtColor):
1141 # Foreground color of selected even tabs.
1142 # Default: ${tabs.fg.selected.odd}
1143 #
1144 # tabs.bg.selected.even (QtColor):
1145 # Background color of selected even tabs.
1146 # Default: ${tabs.bg.selected.odd}
1147 #
1148 # tabs.bg.bar (QtColor):
1149 # Background color of the tab bar.
1150 # Default: #555555
1151 #
1152 # tabs.indicator.start (QtColor):
1153 # Color gradient start for the tab indicator.
1154 # Default: #0000aa
1155 #
1156 # tabs.indicator.stop (QtColor):
1157 # Color gradient end for the tab indicator.
1158 # Default: #00aa00
1159 #
1160 # tabs.indicator.error (QtColor):
1161 # Color for the tab indicator on errors..
1162 # Default: #ff0000
1163 #
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.
1170 # Default: rgb
1171 #
1172 # hints.fg (CssColor):
1173 # Font color for hints.
1174 # Default: black
1175 #
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))
1180 #
1181 # hints.fg.match (CssColor):
1182 # Font color for the matched part of hints.
1183 # Default: green
1184 #
1185 # downloads.bg.bar (QssColor):
1186 # Background color for the download bar.
1187 # Default: black
1188 #
1189 # downloads.fg.start (QtColor):
1190 # Color gradient start for download text.
1191 # Default: white
1192 #
1193 # downloads.bg.start (QtColor):
1194 # Color gradient start for download backgrounds.
1195 # Default: #0000aa
1196 #
1197 # downloads.fg.stop (QtColor):
1198 # Color gradient end for download text.
1199 # Default: ${downloads.fg.start}
1200 #
1201 # downloads.bg.stop (QtColor):
1202 # Color gradient stop for download backgrounds.
1203 # Default: #00aa00
1204 #
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.
1211 # Default: rgb
1212 #
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.
1219 # Default: rgb
1220 #
1221 # downloads.fg.error (QtColor):
1222 # Foreground color for downloads with errors.
1223 # Default: white
1224 #
1225 # downloads.bg.error (QtColor):
1226 # Background color for downloads with errors.
1227 # Default: red
1228 #
1229 # webpage.bg (QtColor):
1230 # Background color for webpages if unset (or empty to use the
1231 # theme's color)
1232 # Default: white
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
1270 tabs.fg.odd = white
1271 tabs.bg.odd = grey
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
1283 hints.fg = black
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
1295 webpage.bg = white
1296
1297 [fonts]
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`
1302 #
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
1308 #
1309 # completion (Font):
1310 # Font used in the completion widget.
1311 # Default: 8pt ${_monospace}
1312 #
1313 # tabbar (QtFont):
1314 # Font used in the tab bar.
1315 # Default: 8pt ${_monospace}
1316 #
1317 # statusbar (Font):
1318 # Font used in the statusbar.
1319 # Default: 8pt ${_monospace}
1320 #
1321 # downloads (Font):
1322 # Font used for the downloadbar.
1323 # Default: 8pt ${_monospace}
1324 #
1325 # hints (Font):
1326 # Font used for the hints.
1327 # Default: bold 13px Monospace
1328 #
1329 # debug-console (QtFont):
1330 # Font used for the debugging console.
1331 # Default: 8pt ${_monospace}
1332 #
1333 # web-family-standard (FontFamily):
1334 # Font family for standard fonts.
1335 # Default:
1336 #
1337 # web-family-fixed (FontFamily):
1338 # Font family for fixed fonts.
1339 # Default:
1340 #
1341 # web-family-serif (FontFamily):
1342 # Font family for serif fonts.
1343 # Default:
1344 #
1345 # web-family-sans-serif (FontFamily):
1346 # Font family for sans-serif fonts.
1347 # Default:
1348 #
1349 # web-family-cursive (FontFamily):
1350 # Font family for cursive fonts.
1351 # Default:
1352 #
1353 # web-family-fantasy (FontFamily):
1354 # Font family for fantasy fonts.
1355 # Default:
1356 #
1357 # web-size-minimum (Int):
1358 # The hard minimum font size.
1359 # Default:
1360 #
1361 # web-size-minimum-logical (Int):
1362 # The minimum logical font size that is applied when zooming out.
1363 # Default:
1364 #
1365 # web-size-default (Int):
1366 # The default font size for regular text.
1367 # Default:
1368 #
1369 # web-size-default-fixed (Int):
1370 # The default font size for fixed-pitch text.
1371 # Default:
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 =
1380 web-family-fixed =
1381 web-family-serif =
1382 web-family-sans-serif =
1383 web-family-cursive =
1384 web-family-fantasy =
1385 web-size-minimum =
1386 web-size-minimum-logical =
1387 web-size-default =
1388 web-size-default-fixed =