180 lines
6.7 KiB
Python
180 lines
6.7 KiB
Python
# Autogenerated config.py
|
|
# Documentation:
|
|
# qute://help/configuring.html
|
|
# qute://help/settings.html
|
|
|
|
# Uncomment this to still load settings configured via autoconfig.yml
|
|
# config.load_autoconfig()
|
|
|
|
# Require a confirmation before quitting the application.
|
|
# Type: ConfirmQuit
|
|
# Valid values:
|
|
# - always: Always show a confirmation.
|
|
# - multiple-tabs: Show a confirmation if multiple tabs are opened.
|
|
# - downloads: Show a confirmation if downloads are running
|
|
# - never: Never show a confirmation.
|
|
c.confirm_quit = ['always']
|
|
|
|
# Always restore open sites when qutebrowser is reopened.
|
|
# Type: Bool
|
|
c.auto_save.session = True
|
|
|
|
# Automatically start playing `<video>` elements. Note: On Qt < 5.11,
|
|
# this option needs a restart and does not support URL patterns.
|
|
# Type: Bool
|
|
c.content.autoplay = False
|
|
|
|
# Allow websites to request geolocations.
|
|
# Type: BoolAsk
|
|
# Valid values:
|
|
# - true
|
|
# - false
|
|
# - ask
|
|
c.content.geolocation = False
|
|
|
|
# Value to send in the `Accept-Language` header. Note that the value
|
|
# read from JavaScript is always the global value.
|
|
# Type: String
|
|
c.content.headers.accept_language = 'en-US,en;q=0.9'
|
|
|
|
# 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.
|
|
# 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.
|
|
# Type: FormatString
|
|
config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}; rv:71.0) Gecko/20100101 Firefox/71.0', '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.
|
|
# 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/*')
|
|
|
|
# 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.
|
|
# Type: FormatString
|
|
config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}; rv:71.0) Gecko/20100101 Firefox/71.0', 'https://docs.google.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 = True
|
|
|
|
# Height (in pixels or as percentage of the window) of the completion.
|
|
# Type: PercOrInt
|
|
c.completion.height = '30%'
|
|
|
|
# Shrink the completion to be smaller than the configured size if there
|
|
# are no scrollbars.
|
|
# Type: Bool
|
|
c.completion.shrink = True
|
|
|
|
# Directory to save downloads to. If unset, a sensible OS-specific
|
|
# default is used.
|
|
# Type: Directory
|
|
c.downloads.location.directory = '/tmp/'
|
|
|
|
# Padding (in pixels) around text for tabs.
|
|
# Type: Padding
|
|
c.tabs.padding = {'bottom': 3, 'left': 5, 'right': 5, 'top': 3}
|
|
|
|
# Position of the tab bar.
|
|
# Type: Position
|
|
# Valid values:
|
|
# - top
|
|
# - bottom
|
|
# - left
|
|
# - right
|
|
c.tabs.position = 'left'
|
|
|
|
# Width (in pixels or as percentage of the window) of the tab bar if
|
|
# it's vertical.
|
|
# Type: PercOrInt
|
|
c.tabs.width = '12%'
|
|
|
|
# Bottom border color of the completion widget category headers.
|
|
# Type: QssColor
|
|
c.colors.completion.category.border.bottom = 'black'
|
|
|
|
# Background color of the tab bar.
|
|
# Type: QssColor
|
|
c.colors.tabs.bar.bg = '#eeeeee'
|
|
|
|
# Foreground color of unselected odd tabs.
|
|
# Type: QtColor
|
|
c.colors.tabs.odd.fg = '#333333'
|
|
|
|
# Background color of unselected odd tabs.
|
|
# Type: QtColor
|
|
c.colors.tabs.odd.bg = '#dadada'
|
|
|
|
# Foreground color of unselected even tabs.
|
|
# Type: QtColor
|
|
c.colors.tabs.even.fg = '#333333'
|
|
|
|
# Background color of unselected even tabs.
|
|
# Type: QtColor
|
|
c.colors.tabs.even.bg = '#eeeeee'
|