add qutebrowser's config.py
This commit is contained in:
parent
252c2fdccd
commit
975800a79f
238
.config/qutebrowser/config.py
Normal file
238
.config/qutebrowser/config.py
Normal file
@ -0,0 +1,238 @@
|
||||
# Autogenerated config.py
|
||||
#
|
||||
# NOTE: config.py is intended for advanced users who are comfortable
|
||||
# with manually migrating the config file on qutebrowser upgrades. If
|
||||
# you prefer, you can also configure qutebrowser using the
|
||||
# :set/:bind/:config-* commands without having to write a config.py
|
||||
# file.
|
||||
#
|
||||
# Documentation:
|
||||
# qute://help/configuring.html
|
||||
# qute://help/settings.html
|
||||
|
||||
# Change the argument to True to still load settings configured via autoconfig.yml
|
||||
config.load_autoconfig(False)
|
||||
|
||||
# Always restore open sites when qutebrowser is reopened. Without this
|
||||
# option set, `:wq` (`:quit --save`) needs to be used to save open tabs
|
||||
# (and restore them), while quitting qutebrowser in any other way will
|
||||
# not save/restore the session. By default, this will save to the
|
||||
# session which was last loaded. This behavior can be customized via the
|
||||
# `session.default_name` setting.
|
||||
# Type: Bool
|
||||
c.auto_save.session = False
|
||||
|
||||
# Automatically start playing `<video>` elements.
|
||||
# Type: Bool
|
||||
c.content.autoplay = False
|
||||
|
||||
# Which cookies to accept. With QtWebEngine, this setting also controls
|
||||
# other features with tracking capabilities similar to those of cookies;
|
||||
# including IndexedDB, DOM storage, filesystem API, service workers, and
|
||||
# AppCache. Note that with QtWebKit, only `all` and `never` are
|
||||
# supported as per-domain values. Setting `no-3rdparty` or `no-
|
||||
# unknown-3rdparty` per-domain on QtWebKit will have the same effect as
|
||||
# `all`. If this setting is used with URL patterns, the pattern gets
|
||||
# applied to the origin/first party URL of the page making the request,
|
||||
# not the request URL. With QtWebEngine 5.15.0+, paths will be stripped
|
||||
# from URLs, so URL patterns using paths will not match. With
|
||||
# QtWebEngine 5.15.2+, subdomains are additionally stripped as well, so
|
||||
# you will typically need to set this setting for `example.com` when the
|
||||
# cookie is set on `somesubdomain.example.com` for it to work properly.
|
||||
# To debug issues with this setting, start qutebrowser with `--debug
|
||||
# --logfilter network --debug-flag log-cookies` which will show all
|
||||
# cookies being set.
|
||||
# Type: String
|
||||
# Valid values:
|
||||
# - all: Accept all cookies.
|
||||
# - no-3rdparty: Accept cookies from the same origin only. This is known to break some sites, such as GMail.
|
||||
# - no-unknown-3rdparty: Accept cookies from the same origin only, unless a cookie is already set for the domain. On QtWebEngine, this is the same as no-3rdparty.
|
||||
# - never: Don't accept cookies at all.
|
||||
config.set('content.cookies.accept', 'all', 'chrome-devtools://*')
|
||||
|
||||
# Which cookies to accept. With QtWebEngine, this setting also controls
|
||||
# other features with tracking capabilities similar to those of cookies;
|
||||
# including IndexedDB, DOM storage, filesystem API, service workers, and
|
||||
# AppCache. Note that with QtWebKit, only `all` and `never` are
|
||||
# supported as per-domain values. Setting `no-3rdparty` or `no-
|
||||
# unknown-3rdparty` per-domain on QtWebKit will have the same effect as
|
||||
# `all`. If this setting is used with URL patterns, the pattern gets
|
||||
# applied to the origin/first party URL of the page making the request,
|
||||
# not the request URL. With QtWebEngine 5.15.0+, paths will be stripped
|
||||
# from URLs, so URL patterns using paths will not match. With
|
||||
# QtWebEngine 5.15.2+, subdomains are additionally stripped as well, so
|
||||
# you will typically need to set this setting for `example.com` when the
|
||||
# cookie is set on `somesubdomain.example.com` for it to work properly.
|
||||
# To debug issues with this setting, start qutebrowser with `--debug
|
||||
# --logfilter network --debug-flag log-cookies` which will show all
|
||||
# cookies being set.
|
||||
# Type: String
|
||||
# Valid values:
|
||||
# - all: Accept all cookies.
|
||||
# - no-3rdparty: Accept cookies from the same origin only. This is known to break some sites, such as GMail.
|
||||
# - no-unknown-3rdparty: Accept cookies from the same origin only, unless a cookie is already set for the domain. On QtWebEngine, this is the same as no-3rdparty.
|
||||
# - never: Don't accept cookies at all.
|
||||
config.set('content.cookies.accept', 'all', 'devtools://*')
|
||||
|
||||
# Value to send in the `Accept-Language` header. Note that the value
|
||||
# read from JavaScript is always the global value.
|
||||
# Type: String
|
||||
config.set('content.headers.accept_language', '', 'https://matchmaker.krunker.io/*')
|
||||
|
||||
# User agent to send. The following placeholders are defined: *
|
||||
# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`:
|
||||
# The underlying WebKit version (set to a fixed value with
|
||||
# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for
|
||||
# QtWebEngine. * `{qt_version}`: The underlying Qt version. *
|
||||
# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for
|
||||
# QtWebEngine. * `{upstream_browser_version}`: The corresponding
|
||||
# Safari/Chrome version. * `{qutebrowser_version}`: The currently
|
||||
# running qutebrowser version. The default value is equal to the
|
||||
# unchanged user agent of QtWebKit/QtWebEngine. Note that the value
|
||||
# read from JavaScript is always the global value. With QtWebEngine
|
||||
# between 5.12 and 5.14 (inclusive), changing the value exposed to
|
||||
# JavaScript requires a restart.
|
||||
# Type: FormatString
|
||||
config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}', 'https://web.whatsapp.com/')
|
||||
|
||||
# User agent to send. The following placeholders are defined: *
|
||||
# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`:
|
||||
# The underlying WebKit version (set to a fixed value with
|
||||
# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for
|
||||
# QtWebEngine. * `{qt_version}`: The underlying Qt version. *
|
||||
# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for
|
||||
# QtWebEngine. * `{upstream_browser_version}`: The corresponding
|
||||
# Safari/Chrome version. * `{qutebrowser_version}`: The currently
|
||||
# running qutebrowser version. The default value is equal to the
|
||||
# unchanged user agent of QtWebKit/QtWebEngine. Note that the value
|
||||
# read from JavaScript is always the global value. With QtWebEngine
|
||||
# between 5.12 and 5.14 (inclusive), changing the value exposed to
|
||||
# JavaScript requires a restart.
|
||||
# Type: FormatString
|
||||
config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version} Edg/{upstream_browser_version}', 'https://accounts.google.com/*')
|
||||
|
||||
# User agent to send. The following placeholders are defined: *
|
||||
# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`:
|
||||
# The underlying WebKit version (set to a fixed value with
|
||||
# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for
|
||||
# QtWebEngine. * `{qt_version}`: The underlying Qt version. *
|
||||
# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for
|
||||
# QtWebEngine. * `{upstream_browser_version}`: The corresponding
|
||||
# Safari/Chrome version. * `{qutebrowser_version}`: The currently
|
||||
# running qutebrowser version. The default value is equal to the
|
||||
# unchanged user agent of QtWebKit/QtWebEngine. Note that the value
|
||||
# read from JavaScript is always the global value. With QtWebEngine
|
||||
# between 5.12 and 5.14 (inclusive), changing the value exposed to
|
||||
# JavaScript requires a restart.
|
||||
# Type: FormatString
|
||||
config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99 Safari/537.36', 'https://*.slack.com/*')
|
||||
|
||||
# Load images automatically in web pages.
|
||||
# Type: Bool
|
||||
config.set('content.images', True, 'chrome-devtools://*')
|
||||
|
||||
# Load images automatically in web pages.
|
||||
# Type: Bool
|
||||
config.set('content.images', True, 'devtools://*')
|
||||
|
||||
# Enable JavaScript.
|
||||
# Type: Bool
|
||||
config.set('content.javascript.enabled', True, 'chrome-devtools://*')
|
||||
|
||||
# Enable JavaScript.
|
||||
# Type: Bool
|
||||
config.set('content.javascript.enabled', True, 'devtools://*')
|
||||
|
||||
# Enable JavaScript.
|
||||
# Type: Bool
|
||||
config.set('content.javascript.enabled', True, 'chrome://*/*')
|
||||
|
||||
# Enable JavaScript.
|
||||
# Type: Bool
|
||||
config.set('content.javascript.enabled', True, 'qute://*/*')
|
||||
|
||||
# Allow pdf.js to view PDF files in the browser. Note that the files can
|
||||
# still be downloaded by clicking the download button in the pdf.js
|
||||
# viewer.
|
||||
# Type: Bool
|
||||
c.content.pdfjs = False
|
||||
|
||||
# Position of the tab bar.
|
||||
# Type: Position
|
||||
# Valid values:
|
||||
# - top
|
||||
# - bottom
|
||||
# - left
|
||||
# - right
|
||||
c.tabs.position = 'top'
|
||||
|
||||
# Width (in pixels or as percentage of the window) of the tab bar if
|
||||
# it's vertical.
|
||||
# Type: PercOrInt
|
||||
c.tabs.width = '25%'
|
||||
|
||||
# Minimum width (in pixels) of tabs (-1 for the default minimum size
|
||||
# behavior). This setting only applies when tabs are horizontal. This
|
||||
# setting does not apply to pinned tabs, unless `tabs.pinned.shrink` is
|
||||
# False.
|
||||
# Type: Int
|
||||
c.tabs.min_width = -1
|
||||
|
||||
# Hide the window decoration. This setting requires a restart on
|
||||
# Wayland.
|
||||
# Type: Bool
|
||||
c.window.hide_decoration = False
|
||||
|
||||
# Set the main window background to transparent. This allows having a
|
||||
# transparent tab- or statusbar (might require a compositor such as
|
||||
# picom). However, it breaks some functionality such as dmenu embedding
|
||||
# via its `-w` option. On some systems, it was additionally reported
|
||||
# that main window transparency negatively affects performance. Note
|
||||
# this setting only affects windows opened after setting it.
|
||||
# Type: Bool
|
||||
c.window.transparent = False
|
||||
|
||||
# Default zoom level.
|
||||
# Type: Perc
|
||||
c.zoom.default = '110%'
|
||||
|
||||
# Available zoom levels.
|
||||
# Type: List of Perc
|
||||
c.zoom.levels = ['25%', '33%', '50%', '67%', '75%', '90%', '100%', '110%', '120%', '125%', '150%', '175%', '200%', '250%', '300%', '400%', '500%']
|
||||
|
||||
# Background color for webpages if unset (or empty to use the theme's
|
||||
# color).
|
||||
# Type: QtColor
|
||||
c.colors.webpage.bg = 'grey'
|
||||
|
||||
# Default font size to use. Whenever "default_size" is used in a font
|
||||
# setting, it's replaced with the size listed here. Valid values are
|
||||
# either a float value with a "pt" suffix, or an integer value with a
|
||||
# "px" suffix.
|
||||
# Type: String
|
||||
c.fonts.default_size = '16px'
|
||||
|
||||
# Font used for the context menu. If set to null, the Qt default is
|
||||
# used.
|
||||
# Type: Font
|
||||
c.fonts.contextmenu = 'FiraCode'
|
||||
|
||||
# Font used for selected tabs.
|
||||
# Type: Font
|
||||
c.fonts.tabs.selected = 'FiraCode'
|
||||
|
||||
# Font family for fixed fonts.
|
||||
# Type: FontFamily
|
||||
c.fonts.web.family.fixed = 'FiraCode'
|
||||
|
||||
# Default font size (in pixels) for regular text.
|
||||
# Type: Int
|
||||
c.fonts.web.size.default = 18
|
||||
|
||||
# Default font size (in pixels) for fixed-pitch text.
|
||||
# Type: Int
|
||||
c.fonts.web.size.default_fixed = 20
|
||||
|
||||
# Hard minimum font size (in pixels).
|
||||
# Type: Int
|
||||
c.fonts.web.size.minimum = 15
|
Loading…
Reference in New Issue
Block a user