]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/qutebrowser.conf
Merge branch 'cadscan' (early part)
[dotfiles.git] / qutebrowser / qutebrowser.conf
index 0069283d0214bf9b154f58ce77ed0d7286cfc0f2..d1c56d30f2ac60d466176194cb58f712f8b53cf5 100644 (file)
 #
 # startpage (List of String):
 #     The default page(s) to open at the start, separated by commas.
-#     Default: https://duckduckgo.com
+#     Default: https://start.duckduckgo.com
 #
 # yank-ignored-url-parameters (List of String):
 #     The URL parameters to strip with :yank url, separated by commas.
 #     Default:
 #     ref,utm_source,utm_medium,utm_campaign,utm_term,utm_content
 #
+# default-open-dispatcher (String):
+#     The default program used to open downloads. Set to an empty string
+#     to use the default internal handler.
+#     Any {} in the string will be expanded to the filename, else the
+#     filename will be appended.
+#     Default:
+#
 # default-page (FuzzyUrl):
 #     The page to open if :open -t/-b/-w is used without URL. Use
 #     `about:blank` for a blank page.
@@ -85,7 +92,8 @@
 # developer-extras (Bool):
 #     Enable extra tools for Web developers.
 #     This needs to be enabled for `:inspector` to work and also adds an
-#     _Inspect_ entry to the context menu.
+#     _Inspect_ entry to the context menu. For QtWebEngine, see
+#     'qutebrowser --help' instead.
 #     Valid values: true, false
 #     Default: false
 #
 ignore-case = smart
 startpage = https://duckduckgo.com/?t=chakra
 yank-ignored-url-parameters = ref,utm_source,utm_medium,utm_campaign,utm_term,utm_content
+default-open-dispatcher = 
 default-page = ${startpage}
 auto-search = naive
 auto-save-config = true
@@ -237,11 +246,15 @@ url-incdec-segments = path,query
 #     Valid values: true, false
 #     Default: false
 #
-# user-stylesheet (UserStyleSheet):
-#     User stylesheet to use (absolute filename, filename relative to
-#     the config directory or CSS string). Will expand environment
-#     variables.
-#     Default: html > ::-webkit-scrollbar { width: 0px; height: 0px; }
+# user-stylesheet (File):
+#     User stylesheet to use (absolute filename or filename relative to
+#     the config directory). Will expand environment variables.
+#     Default:
+#
+# hide-scrollbar (Bool):
+#     Hide the main scrollbar.
+#     Valid values: true, false
+#     Default: true
 #
 # css-media-type (String):
 #     Set the CSS media type.
@@ -277,6 +290,7 @@ url-incdec-segments = path,query
 #     * `{id}`: The internal window ID of this window.
 #     * `{scroll_pos}`: The page scroll position.
 #     * `{host}`: The host of the current web page.
+#     * `{backend}`: Either 'webkit' or 'webengine'
 #     Default: {perc}{title}{title_sep}qutebrowser
 #
 # modal-js-dialog (Bool):
@@ -294,6 +308,15 @@ url-incdec-segments = path,query
 #     Globs are supported, so ';*' will blacklist all keychainsstarting
 #     with ';'. Use '*' to disable keyhints
 #     Default:
+#
+# prompt-radius (Int):
+#     The rounding radius for the edges of prompts.
+#     Default: 8
+#
+# prompt-filebrowser (Bool):
+#     Show a filebrowser in upload/download prompts.
+#     Valid values: true, false
+#     Default: true
 zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
 default-zoom = 100%
 downloads-position = top
@@ -303,7 +326,8 @@ message-unfocused = false
 confirm-quit = downloads
 zoom-text-only = false
 frame-flattening = false
-user-stylesheet = html > ::-webkit-scrollbar { width: 0px; height: 0px; }
+user-stylesheet = 
+hide-scrollbar = true
 css-media-type = 
 smooth-scrolling = false
 remove-finished-downloads = -1
@@ -313,6 +337,8 @@ window-title-format = {perc}{title}{title_sep}qutebrowser
 modal-js-dialog = false
 hide-wayland-decoration = false
 keyhint-blacklist = 
+prompt-radius = 8
+prompt-filebrowser = true
 
 [network]
 # Settings related to the network.
@@ -513,7 +539,7 @@ scrollbar-padding = 2
 #     into zoom increments.
 #     Default: 512
 timeout = 500
-partial-timeout = 1000
+partial-timeout = 5000
 insert-mode-on-plugins = false
 auto-leave-insert-mode = true
 auto-insert-mode = false
@@ -533,25 +559,27 @@ mouse-zoom-divider = 512
 #
 # select-on-remove (SelectOnRemove):
 #     Which tab to select when the focused tab is removed.
-#         left: Select the tab on the left.
-#         right: Select the tab on the right.
-#         previous: Select the previously selected tab.
-#     Default: right
+#         prev: Select the tab which came before the closed one (left in
+#     horizontal, above in vertical).
+#         next: Select the tab which came after the closed one (right in
+#     horizontal, below in vertical).
+#         last-used: Select the previously selected tab.
+#     Default: next
 #
 # new-tab-position (NewTabPosition):
 #     How new tabs are positioned.
-#         left: On the left of the current tab.
-#         right: On the right of the current tab.
-#         first: At the left end.
-#         last: At the right end.
-#     Default: right
+#         prev: Before the current tab.
+#         next: After the current tab.
+#         first: At the beginning.
+#         last: At the end.
+#     Default: next
 #
 # new-tab-position-explicit (NewTabPosition):
 #     How new tabs opened explicitly are positioned.
-#         left: On the left of the current tab.
-#         right: On the right of the current tab.
-#         first: At the left end.
-#         last: At the right end.
+#         prev: Before the current tab.
+#         next: After the current tab.
+#         first: At the beginning.
+#         last: At the end.
 #     Default: last
 #
 # last-close (String):
@@ -629,6 +657,7 @@ mouse-zoom-divider = 512
 #     * `{id}`: The internal tab ID of this tab.
 #     * `{scroll_pos}`: The page scroll position.
 #     * `{host}`: The host of the current web page.
+#     * `{backend}`: Either 'webkit' or 'webengine'
 #     Default: {index}: {title}
 #
 # title-alignment (TextAlignment):
@@ -649,9 +678,9 @@ mouse-zoom-divider = 512
 #     Padding for indicators (top, bottom, left, right).
 #     Default: 2,2,0,4
 background-tabs = false
-select-on-remove = left
-new-tab-position = right
-new-tab-position-explicit = right
+select-on-remove = prev
+new-tab-position = next
+new-tab-position-explicit = next
 last-close = ignore
 show = always
 show-switching-delay = 800
@@ -779,7 +808,7 @@ cache-size = 52428800
 #     Enables or disables WebGL. For QtWebEngine, Qt/PyQt >= 5.7 is
 #     required for this setting.
 #     Valid values: true, false
-#     Default: false
+#     Default: true
 #
 # css-regions (Bool):
 #     Enable or disable support for CSS regions.
@@ -801,6 +830,11 @@ cache-size = 52428800
 #     Valid values: true, false, ask
 #     Default: ask
 #
+# media-capture (BoolAsk):
+#     Allow websites to record audio/video.
+#     Valid values: true, false, ask
+#     Default: ask
+#
 # javascript-can-open-windows-automatically (Bool):
 #     Whether JavaScript programs can open new windows without user
 #     interaction.
@@ -861,7 +895,7 @@ cache-size = 52428800
 #     - A zip-file of any of the above, with either only one file, or a
 #     file named 'hosts' (with any extension).
 #     Default:
-#     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
+#     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
 #
 # host-blocking-enabled (Bool):
 #     Whether host blocking is enabled.
@@ -889,7 +923,8 @@ webgl = true
 css-regions = true
 hyperlink-auditing = false
 geolocation = ask
-notifications = ask
+notifications = false
+media-capture = ask
 javascript-can-open-windows-automatically = false
 javascript-can-close-windows = false
 javascript-can-access-clipboard = false
@@ -985,7 +1020,7 @@ border = 1px solid #E3BE23
 mode = letter
 chars = aoeuidhtns
 min-chars = 2
-scatter = true
+scatter = false
 uppercase = true
 dictionary = /usr/share/dict/words
 auto-follow = unique-match
@@ -1018,10 +1053,11 @@ cv = http://docs.opencv.org/3.1.0/index.html#gsc.tab=0&gsc.ref=more%3A3.1&gsc.q=
 # Aliases for commands.
 # By default, no aliases are defined. Example which adds a new command
 # `:qtb` to open qutebrowsers website:
-# `qtb = open http://www.qutebrowser.org/`
+# `qtb = open https://www.qutebrowser.org/`
 quit = close
 q = close
 exit = quit
+mpv = spawn --userscript ~/src/qutebrowser/misc/userscripts/view_in_mpv
 
 [colors]
 # Colors used in the UI.
@@ -1103,14 +1139,6 @@ exit = quit
 #     Background color of the statusbar.
 #     Default: black
 #
-# statusbar.fg.prompt (QssColor):
-#     Foreground color of the statusbar if there is a prompt.
-#     Default: ${statusbar.fg}
-#
-# statusbar.bg.prompt (QssColor):
-#     Background color of the statusbar if there is a prompt.
-#     Default: darkblue
-#
 # statusbar.fg.insert (QssColor):
 #     Foreground color of the statusbar in insert mode.
 #     Default: ${statusbar.fg}
@@ -1340,6 +1368,18 @@ exit = quit
 # messages.border.info (QssColor):
 #     Border color of an info message.
 #     Default: #333333
+#
+# prompts.fg (QssColor):
+#     Foreground color for prompts.
+#     Default: white
+#
+# prompts.bg (QssColor):
+#     Background color for prompts.
+#     Default: darkblue
+#
+# prompts.selected.bg (QssColor):
+#     Background color for the selected item in filename prompts.
+#     Default: #308cc6
 completion.fg = white
 completion.bg = #333333
 completion.alternate-bg = #444444
@@ -1356,8 +1396,6 @@ completion.scrollbar.fg = ${completion.fg}
 completion.scrollbar.bg = ${completion.bg}
 statusbar.fg = white
 statusbar.bg = black
-statusbar.fg.prompt = ${statusbar.fg}
-statusbar.bg.prompt = darkblue
 statusbar.fg.insert = ${statusbar.fg}
 statusbar.bg.insert = darkgreen
 statusbar.fg.command = ${statusbar.fg}
@@ -1411,6 +1449,9 @@ messages.border.warning = #d47300
 messages.fg.info = white
 messages.bg.info = black
 messages.border.info = #333333
+prompts.fg = ${statusbar.fg}
+prompts.bg = #333333
+prompts.selected.bg = #308cc6
 
 [fonts]
 # Fonts used for the UI, with optional style/weight/size.
@@ -1507,7 +1548,11 @@ messages.border.info = #333333
 # messages.info (Font):
 #     Font used for info messages.
 #     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
+#
+# prompts (Font):
+#     Font used for prompts.
+#     Default: 8pt sans-serif
+_monospace = Hack, 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}
@@ -1529,3 +1574,4 @@ keyhint = 8pt ${_monospace}
 messages.error = 8pt ${_monospace}
 messages.warning = 8pt ${_monospace}
 messages.info = 8pt ${_monospace}
+prompts = 8pt sans-serif