X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/1b34e5bf23e5d5a68632e0d6ab0433472accde7d..172cfbb4b15794f9dd12a4531e6ba6b8f0edbb2a:/qutebrowser/qutebrowser.conf diff --git a/qutebrowser/qutebrowser.conf b/qutebrowser/qutebrowser.conf index b14fedb..d1c56d3 100644 --- a/qutebrowser/qutebrowser.conf +++ b/qutebrowser/qutebrowser.conf @@ -36,13 +36,20 @@ # # 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 # @@ -166,6 +174,7 @@ 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. @@ -365,6 +391,11 @@ keyhint-blacklist = # custom-headers (HeaderDict): # Set custom headers for qutebrowser HTTP requests. # Default: +# +# netrc-file (File): +# Set location of a netrc-file for HTTP authentication. If empty, +# ~/.netrc is used. +# Default: do-not-track = true accept-language = en-US,en,de,fr referer-header = same-domain @@ -374,6 +405,7 @@ proxy-dns-requests = true ssl-strict = ask dns-prefetch = true custom-headers = +netrc-file = [completion] # Options related to completion and command history. @@ -507,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 @@ -527,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): @@ -623,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): @@ -643,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 @@ -773,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. @@ -795,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. @@ -855,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. @@ -884,6 +924,7 @@ css-regions = true hyperlink-auditing = false geolocation = ask notifications = false +media-capture = ask javascript-can-open-windows-automatically = false javascript-can-close-windows = false javascript-can-access-clipboard = false @@ -1012,7 +1053,7 @@ 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 @@ -1098,30 +1139,6 @@ mpv = spawn --userscript ~/src/qutebrowser/misc/userscripts/view_in_mpv # Background color of the statusbar. # Default: black # -# statusbar.fg.error (QssColor): -# Foreground color of the statusbar if there was an error. -# Default: ${statusbar.fg} -# -# statusbar.bg.error (QssColor): -# Background color of the statusbar if there was an error. -# Default: red -# -# statusbar.fg.warning (QssColor): -# Foreground color of the statusbar if there is a warning. -# Default: ${statusbar.fg} -# -# statusbar.bg.warning (QssColor): -# Background color of the statusbar if there is a warning. -# Default: darkorange -# -# 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} @@ -1315,6 +1332,54 @@ mpv = spawn --userscript ~/src/qutebrowser/misc/userscripts/view_in_mpv # keyhint.bg (QssColor): # Background color of the keyhint widget. # Default: rgba(0, 0, 0, 80%) +# +# messages.fg.error (QssColor): +# Foreground color of an error message. +# Default: white +# +# messages.bg.error (QssColor): +# Background color of an error message. +# Default: red +# +# messages.border.error (QssColor): +# Border color of an error message. +# Default: #bb0000 +# +# messages.fg.warning (QssColor): +# Foreground color a warning message. +# Default: white +# +# messages.bg.warning (QssColor): +# Background color of a warning message. +# Default: darkorange +# +# messages.border.warning (QssColor): +# Border color of an error message. +# Default: #d47300 +# +# messages.fg.info (QssColor): +# Foreground color an info message. +# Default: white +# +# messages.bg.info (QssColor): +# Background color of an info message. +# Default: black +# +# 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 @@ -1331,12 +1396,6 @@ completion.scrollbar.fg = ${completion.fg} completion.scrollbar.bg = ${completion.bg} statusbar.fg = white statusbar.bg = black -statusbar.fg.error = ${statusbar.fg} -statusbar.bg.error = red -statusbar.fg.warning = ${statusbar.fg} -statusbar.bg.warning = darkorange -statusbar.fg.prompt = ${statusbar.fg} -statusbar.bg.prompt = darkblue statusbar.fg.insert = ${statusbar.fg} statusbar.bg.insert = darkgreen statusbar.fg.command = ${statusbar.fg} @@ -1381,6 +1440,18 @@ webpage.bg = white keyhint.fg = #FFFFFF keyhint.fg.suffix = #FFFF00 keyhint.bg = rgba(0, 0, 0, 80%) +messages.fg.error = ${statusbar.fg} +messages.bg.error = red +messages.border.error = #bb0000 +messages.fg.warning = ${statusbar.fg} +messages.bg.warning = darkorange +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. @@ -1465,7 +1536,23 @@ keyhint.bg = rgba(0, 0, 0, 80%) # keyhint (Font): # Font used in the keyhint widget. # 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 +# +# messages.error (Font): +# Font used for error messages. +# Default: 8pt ${_monospace} +# +# messages.warning (Font): +# Font used for warning messages. +# Default: 8pt ${_monospace} +# +# messages.info (Font): +# Font used for info messages. +# Default: 8pt ${_monospace} +# +# 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} @@ -1484,3 +1571,7 @@ web-size-minimum-logical = web-size-default = web-size-default-fixed = keyhint = 8pt ${_monospace} +messages.error = 8pt ${_monospace} +messages.warning = 8pt ${_monospace} +messages.info = 8pt ${_monospace} +prompts = 8pt sans-serif