]> git.rmz.io Git - dotfiles.git/commitdiff
qutebrowser: update defaults
authorSamir Benmendil <me@rmz.io>
Fri, 8 May 2020 12:45:23 +0000 (13:45 +0100)
committerSamir Benmendil <me@rmz.io>
Fri, 8 May 2020 12:45:23 +0000 (13:45 +0100)
qutebrowser/config.py

index 810745352193b6f84afed7edf4d13a99b45ec8bf..b61ecab70fc35901070a697cf952c997c56c2efe 100644 (file)
@@ -115,12 +115,22 @@ c.auto_save.session = True
 ## Background color of the context menu. If set to null, the Qt default
 ## is used.
 ## Type: QssColor
 ## Background color of the context menu. If set to null, the Qt default
 ## is used.
 ## Type: QssColor
-# c.colors.contextmenu.bg = None
+# c.colors.contextmenu.menu.bg = None
 
 ## Foreground color of the context menu. If set to null, the Qt default
 ## is used.
 ## Type: QssColor
 
 ## Foreground color of the context menu. If set to null, the Qt default
 ## is used.
 ## Type: QssColor
-# c.colors.contextmenu.fg = None
+# c.colors.contextmenu.menu.fg = None
+
+## Background color of the context menu's selected item. If set to null,
+## the Qt default is used.
+## Type: QssColor
+# c.colors.contextmenu.selected.bg = None
+
+## Foreground color of the context menu's selected item. If set to null,
+## the Qt default is used.
+## Type: QssColor
+# c.colors.contextmenu.selected.fg = None
 
 ## Background color for the download bar.
 ## Type: QssColor
 
 ## Background color for the download bar.
 ## Type: QssColor
@@ -433,6 +443,10 @@ c.colors.prompts.bg = '#333333'
 ## Type: QtColor
 # c.colors.webpage.bg = 'white'
 
 ## Type: QtColor
 # c.colors.webpage.bg = 'white'
 
+## Force `prefers-color-scheme: dark` colors for websites.
+## Type: Bool
+# c.colors.webpage.prefers_color_scheme_dark = False
+
 ## Number of commands to save in the command history. 0: no history / -1:
 ## unlimited
 ## Type: Int
 ## Number of commands to save in the command history. 0: no history / -1:
 ## unlimited
 ## Type: Int
@@ -904,11 +918,11 @@ c.editor.command = ['urxvtc', '-e', 'vim', '{file}', '-c', 'normal {line}G{colum
 
 ## Font used in the completion categories.
 ## Type: Font
 
 ## Font used in the completion categories.
 ## Type: Font
-# c.fonts.completion.category = 'bold 10pt monospace'
+# c.fonts.completion.category = 'bold default_size default_family'
 
 ## Font used in the completion widget.
 ## Type: Font
 
 ## Font used in the completion widget.
 ## Type: Font
-# c.fonts.completion.entry = '10pt monospace'
+# c.fonts.completion.entry = 'default_size default_family'
 
 ## Font used for the context menu. If set to null, the Qt default is
 ## used.
 
 ## Font used for the context menu. If set to null, the Qt default is
 ## used.
@@ -917,48 +931,56 @@ c.editor.command = ['urxvtc', '-e', 'vim', '{file}', '-c', 'normal {line}G{colum
 
 ## Font used for the debugging console.
 ## Type: QtFont
 
 ## Font used for the debugging console.
 ## Type: QtFont
-# c.fonts.debug_console = '10pt monospace'
+# c.fonts.debug_console = 'default_size default_family'
+
+## Default font families to use. Whenever "default_family" is used in a
+## font setting, it's replaced with the fonts listed here. If set to an
+## empty value, a system-specific monospace default is used.
+## Type: List of Font, or Font
+c.fonts.default_family = ["Hack"]
+
+## 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 = '10pt'
 
 ## Font used for the downloadbar.
 ## Type: Font
 
 ## Font used for the downloadbar.
 ## Type: Font
-# c.fonts.downloads = '10pt monospace'
+# c.fonts.downloads = 'default_size default_family'
 
 ## Font used for the hints.
 ## Type: Font
 
 ## Font used for the hints.
 ## Type: Font
-# c.fonts.hints = 'bold 10pt monospace'
+# c.fonts.hints = 'bold default_size default_family'
 
 ## Font used in the keyhint widget.
 ## Type: Font
 
 ## Font used in the keyhint widget.
 ## Type: Font
-# c.fonts.keyhint = '10pt monospace'
+# c.fonts.keyhint = 'default_size default_family'
 
 ## Font used for error messages.
 ## Type: Font
 
 ## Font used for error messages.
 ## Type: Font
-# c.fonts.messages.error = '10pt monospace'
+# c.fonts.messages.error = 'default_size default_family'
 
 ## Font used for info messages.
 ## Type: Font
 
 ## Font used for info messages.
 ## Type: Font
-# c.fonts.messages.info = '10pt monospace'
+# c.fonts.messages.info = 'default_size default_family'
 
 ## Font used for warning messages.
 ## Type: Font
 
 ## Font used for warning messages.
 ## Type: Font
-# c.fonts.messages.warning = '10pt monospace'
-
-## Default monospace fonts. Whenever "monospace" is used in a font
-## setting, it's replaced with the fonts listed here.
-## Type: Font
-c.fonts.monospace = 'Hack, "xos4 Terminus", Terminus, Monospace, "DejaVu Sans Mono", Monaco, "Bitstream Vera Sans Mono", "Andale Mono", "Courier New", Courier, "Liberation Mono", monospace, Fixed, Consolas, Terminal'
+# c.fonts.messages.warning = 'default_size default_family'
 
 ## Font used for prompts.
 ## Type: Font
 
 ## Font used for prompts.
 ## Type: Font
-# c.fonts.prompts = '10pt sans-serif'
+# c.fonts.prompts = 'default_size sans-serif'
 
 ## Font used in the statusbar.
 ## Type: Font
 
 ## Font used in the statusbar.
 ## Type: Font
-# c.fonts.statusbar = '10pt monospace'
+# c.fonts.statusbar = 'default_size default_family'
 
 ## Font used in the tab bar.
 ## Type: QtFont
 
 ## Font used in the tab bar.
 ## Type: QtFont
-# c.fonts.tabs = '10pt monospace'
+# c.fonts.tabs = 'default_size default_family'
 
 ## Font family for cursive fonts.
 ## Type: FontFamily
 
 ## Font family for cursive fonts.
 ## Type: FontFamily
@@ -1206,6 +1228,13 @@ c.hints.scatter = False
 ## Type: String
 # c.qt.force_platform = None
 
 ## Type: String
 # c.qt.force_platform = None
 
+## Force a Qt platformtheme to use. This sets the `QT_QPA_PLATFORMTHEME`
+## environment variable which controls dialogs like the filepicker. By
+## default, Qt determines the platform theme based on the desktop
+## environment.
+## Type: String
+# c.qt.force_platformtheme = None
+
 ## Force software rendering for QtWebEngine. This is needed for
 ## QtWebEngine to work with Nouveau drivers and can be useful in other
 ## scenarios related to graphic issues.
 ## Force software rendering for QtWebEngine. This is needed for
 ## QtWebEngine to work with Nouveau drivers and can be useful in other
 ## scenarios related to graphic issues.
@@ -1523,16 +1552,20 @@ c.tabs.select_on_remove = 'prev'
 # c.tabs.title.alignment = 'left'
 
 ## Format to use for the tab title. The following placeholders are
 # c.tabs.title.alignment = 'left'
 
 ## Format to use for the tab title. The following placeholders are
-## defined:  * `{perc}`: Percentage as a string like `[10%]`. *
-## `{perc_raw}`: Raw percentage, e.g. `10`. * `{current_title}`: Title of
-## the current web page. * `{title_sep}`: The string ` - ` if a title is
-## set, empty otherwise. * `{index}`: Index of this tab. * `{id}`:
-## Internal tab ID of this tab. * `{scroll_pos}`: Page scroll position. *
-## `{host}`: Host of the current web page. * `{backend}`: Either
-## ''webkit'' or ''webengine'' * `{private}`: Indicates when private mode
-## is enabled. * `{current_url}`: URL of the current web page. *
-## `{protocol}`: Protocol (http/https/...) of the current web page. *
-## `{audio}`: Indicator for audio/mute status.
+## defined:
+##   * `{perc}`: Percentage as a string like `[10%]`.
+##   * `{perc_raw}`: Raw percentage, e.g. `10`.
+##   * `{current_title}`: Title of the current web page.
+##   * `{title_sep}`: The string ` - ` if a title is set, empty otherwise.
+##   * `{index}`: Index of this tab.
+##   * `{id}`: Internal tab ID of this tab.
+##   * `{scroll_pos}`: Page scroll position.
+##   * `{host}`: Host of the current web page.
+##   * `{backend}`: Either ''webkit'' or ''webengine''
+##   * `{private}`: Indicates when private mode is enabled.
+##   * `{current_url}`: URL of the current web page.
+##   * `{protocol}`: Protocol (http/https/...) of the current web page.
+##   * `{audio}`: Indicator for audio/mute status.
 ## Type: FormatString
 # c.tabs.title.format = '{audio}{index}: {current_title}'
 
 ## Type: FormatString
 # c.tabs.title.format = '{audio}{index}: {current_title}'