]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/qutebrowser.conf
qutebrowser: update config
[dotfiles.git] / qutebrowser / qutebrowser.conf
index f836fb8f8c84c1e55de22bddc869386e8e991270..984ffc8eb843266986f38e6b673caf60d94cec4b 100644 (file)
 #         smart: Search case-sensitively if there are capital chars
 #     Default: smart
 #
-# wrap-search (Bool):
-#     Whether to wrap finding text to the top when arriving at the end.
-#     Valid values: true, false
-#     Default: true
-#
-# startpage (List):
+# startpage (List of String):
 #     The default page(s) to open at the start, separated by commas.
 #     Default: https://duckduckgo.com
 #
 #         window: Open in a new window.
 #     Default: tab
 #
+# new-instance-open-target.window (String):
+#     Which window to choose when opening links as new tabs.
+#         first-opened: Open new tabs in the first (oldest) opened
+#     window.
+#         last-opened: Open new tabs in the last (newest) opened window.
+#         last-focused: Open new tabs in the most recently focused
+#     window.
+#         last-visible: Open new tabs in the most recently visible
+#     window.
+#     Default: last-focused
+#
 # log-javascript-console (String):
 #     How to log javascript console messages.
 #         none: Don't log messages.
 #     Valid values: host, path, query, anchor
 #     Default: path,query
 ignore-case = smart
-wrap-search = true
 startpage = https://duckduckgo.com/?t=chakra
 default-page = ${startpage}
 auto-search = naive
@@ -168,6 +173,7 @@ xss-auditing = false
 site-specific-quirks = true
 default-encoding = 
 new-instance-open-target = tab
+new-instance-open-target.window = last-focused
 log-javascript-console = none
 save-session = true
 session-default-name = 
@@ -176,7 +182,7 @@ url-incdec-segments = path,query
 [ui]
 # General options related to the user interface.
 #
-# zoom-levels (PercList):
+# zoom-levels (List of Perc):
 #     The available zoom levels, separated by commas.
 #     Default:
 #     25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
@@ -190,6 +196,11 @@ url-incdec-segments = path,query
 #     Valid values: top, bottom
 #     Default: top
 #
+# status-position (VerticalPosition):
+#     The position of the status bar.
+#     Valid values: top, bottom
+#     Default: bottom
+#
 # message-timeout (Int):
 #     Time (in ms) to show messages in the statusbar for.
 #     Default: 2000
@@ -208,11 +219,6 @@ url-incdec-segments = path,query
 #         never: Never show a confirmation.
 #     Default: never
 #
-# display-statusbar-messages (Bool):
-#     Whether to display javascript statusbar messages.
-#     Valid values: true, false
-#     Default: false
-#
 # zoom-text-only (Bool):
 #     Whether the zoom factor on a frame applies only to the text or to
 #     all content.
@@ -267,11 +273,6 @@ url-incdec-segments = path,query
 #     * `{host}`: The host of the current web page.
 #     Default: {perc}{title}{title_sep}qutebrowser
 #
-# hide-mouse-cursor (Bool):
-#     Whether to hide the mouse cursor.
-#     Valid values: true, false
-#     Default: false
-#
 # modal-js-dialog (Bool):
 #     Use standard JavaScript modal dialog for alert() and confirm()
 #     Valid values: true, false
@@ -282,7 +283,7 @@ url-incdec-segments = path,query
 #     Valid values: true, false
 #     Default: false
 #
-# keyhint-blacklist (List):
+# keyhint-blacklist (List of String):
 #     Keychains that shouldn't be shown in the keyhint dialog
 #     Globs are supported, so ';*' will blacklist all keychainsstarting
 #     with ';'. Use '*' to disable keyhints
@@ -290,20 +291,19 @@ url-incdec-segments = path,query
 zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
 default-zoom = 100%
 downloads-position = top
+status-position = bottom
 message-timeout = 2000
 message-unfocused = false
 confirm-quit = downloads
-display-statusbar-messages = false
 zoom-text-only = false
 frame-flattening = false
-user-stylesheet = ::-webkit-scrollbar { width: 0px; height: 0px; }
+user-stylesheet = html > ::-webkit-scrollbar { width: 0px; height: 0px; }
 css-media-type = 
 smooth-scrolling = false
 remove-finished-downloads = -1
 hide-statusbar = false
 statusbar-padding = 1,1,0,0
 window-title-format = {perc}{title}{title_sep}qutebrowser
-hide-mouse-cursor = false
 modal-js-dialog = false
 hide-wayland-decoration = false
 keyhint-blacklist = 
@@ -443,13 +443,13 @@ scrollbar-padding = 2
 # Options related to input modes.
 #
 # timeout (Int):
-#     Timeout for ambiguous key bindings.
+#     Timeout (in milliseconds) for ambiguous key bindings.
 #     If the current input forms both a complete match and a partial
 #     match, the complete match will be executed after this time.
 #     Default: 500
 #
 # partial-timeout (Int):
-#     Timeout for partially typed key bindings.
+#     Timeout (in milliseconds) for partially typed key bindings.
 #     If the current input forms only partial matches, the keystring
 #     will be cleared after this time.
 #     Default: 5000
@@ -690,7 +690,7 @@ indicator-padding = 2,2,0,4
 #     http://webkit.org/blog/427/webkit-page-cache-i-the-basics/
 #     Default:
 #
-# object-cache-capacities (WebKitBytesList):
+# object-cache-capacities (List of WebKitBytes):
 #     The capacities for the global memory cache for dead objects such
 #     as stylesheets or scripts. Syntax: cacheMinDeadCapacity,
 #     cacheMaxDead, totalCapacity.
@@ -768,7 +768,8 @@ cache-size = 52428800
 #     Default: false
 #
 # webgl (Bool):
-#     Enables or disables WebGL.
+#     Enables or disables WebGL. For QtWebEngine, Qt/PyQt >= 5.7 is
+#     required for this setting.
 #     Valid values: true, false
 #     Default: false
 #
@@ -843,7 +844,7 @@ cache-size = 52428800
 #     Valid values: true, false
 #     Default: true
 #
-# host-block-lists (UrlList):
+# host-block-lists (List of Url):
 #     List of URLs of lists which contain hosts to block.
 #     The file can be in one of the following formats:
 #     - An '/etc/hosts'-like file
@@ -858,7 +859,7 @@ cache-size = 52428800
 #     Valid values: true, false
 #     Default: true
 #
-# host-blocking-whitelist (List):
+# host-blocking-whitelist (List of String):
 #     List of domains that should always be loaded, despite being
 #     ad-blocked.
 #     Domains may contain * and ? wildcards and are otherwise required
@@ -901,10 +902,6 @@ enable-pdfjs = false
 #     CSS border value for hints.
 #     Default: 1px solid #E3BE23
 #
-# opacity (Float):
-#     Opacity for hints.
-#     Default: 0.7
-#
 # mode (String):
 #     Mode to use for hints.
 #         number: Use numeric hints.
@@ -936,23 +933,32 @@ enable-pdfjs = false
 #     The dictionary file to be used by the word hints.
 #     Default: /usr/share/dict/words
 #
-# auto-follow (Bool):
-#     Follow a hint immediately when the hint text is completely
-#     matched.
-#     Valid values: true, false
-#     Default: true
+# auto-follow (String):
+#     Controls when a hint can be automatically followed without the
+#     user pressing Enter.
+#         always: Auto-follow whenever there is only a single hint on a
+#     page.
+#         unique-match: Auto-follow whenever there is a unique non-empty
+#     match in either the hint string (word mode) or filter (number
+#     mode).
+#         full-match: Follow the hint when the user typed the whole hint
+#     (letter, word or number mode) or the element's text (only in
+#     number mode).
+#         never: The user will always need to press Enter to follow a
+#     hint.
+#     Default: unique-match
 #
 # auto-follow-timeout (Int):
-#     A timeout to inhibit normal-mode key bindings after a
-#     successfulauto-follow.
+#     A timeout (in milliseconds) to inhibit normal-mode key bindings
+#     after a successful auto-follow.
 #     Default: 0
 #
-# next-regexes (RegexList):
+# next-regexes (List of Regex):
 #     A comma-separated list of regexes to use for 'next' links.
 #     Default:
 #     \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b,\bcontinue\b
 #
-# prev-regexes (RegexList):
+# prev-regexes (List of Regex):
 #     A comma-separated list of regexes to use for 'prev' links.
 #     Default: \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b
 #
@@ -960,9 +966,13 @@ enable-pdfjs = false
 #     Which implementation to use to find elements to hint.
 #         javascript: Better but slower
 #         python: Slightly worse but faster
-#     Default: javascript
+#     Default: python
+#
+# hide-unmatched-rapid-hints (Bool):
+#     Controls hiding unmatched hints in rapid mode.
+#     Valid values: true, false
+#     Default: true
 border = 1px solid #E3BE23
-opacity = 0.7
 mode = letter
 chars = aoeuidhtns
 min-chars = 2
@@ -974,6 +984,7 @@ auto-follow-timeout = 0
 next-regexes = \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b,\bcontinue\b
 prev-regexes = \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b
 find-implementation = javascript
+hide-unmatched-rapid-hints = true
 
 [searchengines]
 # Definitions of search engines which can be used via the address bar.
@@ -1006,7 +1017,7 @@ exit = quit
 # Colors used in the UI.
 # A value can be in one of the following format:
 #  * `#RGB`/`#RRGGBB`/`#RRRGGGBBB`/`#RRRRGGGGBBBB`
-#  * A SVG color name as specified in http://www.w3.org/TR/SVG/types.html#ColorKeywords[the W3C specification].
+#  * An SVG color name as specified in http://www.w3.org/TR/SVG/types.html#ColorKeywords[the W3C specification].
 #  * transparent (no color)
 #  * `rgb(r, g, b)` / `rgba(r, g, b, a)` (values 0-255 or percentages)
 #  * `hsv(h, s, v)` / `hsva(h, s, v, a)` (values 0-255, hue 0-359)
@@ -1225,16 +1236,17 @@ exit = quit
 #         none: Don't show a gradient.
 #     Default: rgb
 #
-# hints.fg (CssColor):
+# hints.fg (QssColor):
 #     Font color for hints.
 #     Default: black
 #
-# hints.bg (CssColor):
-#     Background color for hints.
-#     Default: -webkit-gradient(linear, left top, left bottom,
-#     color-stop(0%,#FFF785), color-stop(100%,#FFC542))
+# hints.bg (QssColor):
+#     Background color for hints. Note that you can use a `rgba(...)`
+#     value for transparency.
+#     Default: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255,
+#     247, 133, 0.8), stop:1 rgba(255, 197, 66, 0.8))
 #
-# hints.fg.match (CssColor):
+# hints.fg.match (QssColor):
 #     Font color for the matched part of hints.
 #     Default: green
 #
@@ -1349,7 +1361,7 @@ tabs.indicator.stop = #00aa00
 tabs.indicator.error = #ff0000
 tabs.indicator.system = rgb
 hints.fg = black
-hints.bg = -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF785), color-stop(100%,#FFC542))
+hints.bg = qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 247, 133, 0.8), stop:1 rgba(255, 197, 66, 0.8))
 hints.fg.match = green
 downloads.bg.bar = black
 downloads.fg.start = white
@@ -1381,6 +1393,10 @@ keyhint.bg = rgba(0, 0, 0, 80%)
 #     Font used in the completion widget.
 #     Default: 8pt ${_monospace}
 #
+# completion.category (Font):
+#     Font used in the completion categories.
+#     Default: bold ${completion}
+#
 # tabbar (QtFont):
 #     Font used in the tab bar.
 #     Default: 8pt ${_monospace}
@@ -1395,7 +1411,7 @@ keyhint.bg = rgba(0, 0, 0, 80%)
 #
 # hints (Font):
 #     Font used for the hints.
-#     Default: bold 13px Monospace
+#     Default: bold 13px ${_monospace}
 #
 # debug-console (QtFont):
 #     Font used for the debugging console.
@@ -1446,10 +1462,11 @@ keyhint.bg = rgba(0, 0, 0, 80%)
 #     Default: 8pt ${_monospace}
 _monospace = Terminus, Monospace, "DejaVu Sans Mono", Monaco, "Bitstream Vera Sans Mono", "Andale Mono", "Liberation Mono", "Courier New", Courier, monospace, Fixed, Consolas, Terminal
 completion = 8pt ${_monospace}
+completion.category = bold ${completion}
 tabbar = 8pt ${_monospace}
 statusbar = 8pt ${_monospace}
 downloads = 8pt ${_monospace}
-hints = bold 12px Monospace
+hints = bold 12px ${_monospace}
 debug-console = 8pt ${_monospace}
 web-family-standard = 
 web-family-fixed =