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