config.py (12797B)
1 # Autogenerated config.py 2 # Documentation: 3 # qute://help/configuring.html 4 # qute://help/settings.html 5 6 # Uncomment this to still load settings configured via autoconfig.yml 7 config.load_autoconfig(False) 8 9 # Maximum time (in minutes) between two history items for them to be 10 # considered being from the same browsing session. Items with less time 11 # between them are grouped when being displayed in `:history`. Use -1 to 12 # disable separation. 13 # Type: Int 14 c.history_gap_interval = 30 15 16 # User agent to send. The following placeholders are defined: * 17 # `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: 18 # The underlying WebKit version (set to a fixed value with 19 # QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for 20 # QtWebEngine. * `{qt_version}`: The underlying Qt version. * 21 # `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for 22 # QtWebEngine. * `{upstream_browser_version}`: The corresponding 23 # Safari/Chrome version. * `{qutebrowser_version}`: The currently 24 # running qutebrowser version. The default value is equal to the 25 # unchanged user agent of QtWebKit/QtWebEngine. Note that the value 26 # read from JavaScript is always the global value. 27 # Type: FormatString 28 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/') 29 30 # User agent to send. The following placeholders are defined: * 31 # `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: 32 # The underlying WebKit version (set to a fixed value with 33 # QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for 34 # QtWebEngine. * `{qt_version}`: The underlying Qt version. * 35 # `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for 36 # QtWebEngine. * `{upstream_browser_version}`: The corresponding 37 # Safari/Chrome version. * `{qutebrowser_version}`: The currently 38 # running qutebrowser version. The default value is equal to the 39 # unchanged user agent of QtWebKit/QtWebEngine. Note that the value 40 # read from JavaScript is always the global value. 41 # Type: FormatString 42 config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}; rv:71.0) Gecko/20100101 Firefox/71.0', 'https://accounts.google.com/*') 43 44 # User agent to send. The following placeholders are defined: * 45 # `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: 46 # The underlying WebKit version (set to a fixed value with 47 # QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for 48 # QtWebEngine. * `{qt_version}`: The underlying Qt version. * 49 # `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for 50 # QtWebEngine. * `{upstream_browser_version}`: The corresponding 51 # Safari/Chrome version. * `{qutebrowser_version}`: The currently 52 # running qutebrowser version. The default value is equal to the 53 # unchanged user agent of QtWebKit/QtWebEngine. Note that the value 54 # read from JavaScript is always the global value. 55 # Type: FormatString 56 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/*') 57 58 # User agent to send. The following placeholders are defined: * 59 # `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: 60 # The underlying WebKit version (set to a fixed value with 61 # QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for 62 # QtWebEngine. * `{qt_version}`: The underlying Qt version. * 63 # `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for 64 # QtWebEngine. * `{upstream_browser_version}`: The corresponding 65 # Safari/Chrome version. * `{qutebrowser_version}`: The currently 66 # running qutebrowser version. The default value is equal to the 67 # unchanged user agent of QtWebKit/QtWebEngine. Note that the value 68 # read from JavaScript is always the global value. 69 # Type: FormatString 70 config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}; rv:71.0) Gecko/20100101 Firefox/71.0', 'https://docs.google.com/*') 71 72 # Load images automatically in web pages. 73 # Type: Bool 74 config.set('content.images', True, 'chrome-devtools://*') 75 76 # Load images automatically in web pages. 77 # Type: Bool 78 config.set('content.images', True, 'devtools://*') 79 80 # Enable JavaScript. 81 # Type: Bool 82 config.set('content.javascript.enabled', True, 'chrome-devtools://*') 83 84 # Enable JavaScript. 85 # Type: Bool 86 config.set('content.javascript.enabled', True, 'devtools://*') 87 88 # Enable JavaScript. 89 # Type: Bool 90 config.set('content.javascript.enabled', True, 'chrome://*/*') 91 92 # Enable JavaScript. 93 # Type: Bool 94 config.set('content.javascript.enabled', True, 'qute://*/*') 95 96 # Allow websites to show notifications. 97 # Type: BoolAsk 98 # Valid values: 99 # - true 100 # - false 101 # - ask 102 config.set('content.notifications.enabled', False, 'https://www.reddit.com') 103 104 # unbind bookmark and quickmark 105 config.unbind('m') 106 config.unbind('M') 107 108 # Number of commands to save in the command history. 0: no history / -1: 109 # unlimited 110 # Type: Int 111 c.completion.cmd_history_max_items = -1 112 113 # When to show the autocompletion window. 114 # Type: String 115 # Valid values: 116 # - always: Whenever a completion is available. 117 # - auto: Whenever a completion is requested. 118 # - never: Never. 119 c.completion.show = 'never' 120 121 # Shrink the completion to be smaller than the configured size if there 122 # are no scrollbars. 123 # Type: Bool 124 c.completion.shrink = False 125 126 # Directory to save downloads to. If unset, a sensible OS-specific 127 # default is used. 128 # Type: Directory 129 c.downloads.location.directory = '~/.local/tmp' 130 131 # Prompt the user for the download location. If set to false, 132 # `downloads.location.directory` will be used. 133 # Type: Bool 134 c.downloads.location.prompt = False 135 136 # Where to show the downloaded files. 137 # Type: VerticalPosition 138 # Valid values: 139 # - top 140 # - bottom 141 c.downloads.position = 'bottom' 142 143 # Duration (in milliseconds) to wait before removing finished downloads. 144 # If set to -1, downloads are never removed. 145 # Type: Int 146 c.downloads.remove_finished = 100 147 148 # CSS border value for hints. 149 # Type: String 150 c.hints.border = '1px solid #9c353e' 151 152 # Characters used for hint strings. 153 # Type: UniqueCharString 154 c.hints.chars = 'asdfghjkl' 155 156 # Make characters in hint strings uppercase. 157 # Type: Bool 158 c.hints.uppercase = False 159 160 # Open new tabs (middleclick/ctrl+click) in the background. 161 # Type: Bool 162 c.tabs.background = True 163 164 # When to show favicons in the tab bar. 165 # Type: String 166 # Valid values: 167 # - always: Always show favicons. 168 # - never: Always hide favicons. 169 # - pinned: Show favicons only on pinned tabs. 170 c.tabs.favicons.show = 'never' 171 172 # Switch between tabs using the mouse wheel. 173 # Type: Bool 174 c.tabs.mousewheel_switching = False 175 176 # Width (in pixels) of the progress indicator (0 to disable). 177 # Type: Int 178 c.tabs.indicator.width = 0 179 180 # Page to open if :open -t/-b/-w is used without URL. Use `about:blank` 181 # for a blank page. 182 # Type: FuzzyUrl 183 c.url.default_page = 'https://start.pyratebeard.net' 184 185 # Search engines which can be used via the address bar. Maps a search 186 # engine name (such as `DEFAULT`, or `ddg`) to a URL with a `{}` 187 # placeholder. The placeholder will be replaced by the search term, use 188 # `{{` and `}}` for literal `{`/`}` signs. The search engine named 189 # `DEFAULT` is used when `url.auto_search` is turned on and something 190 # else than a URL was entered to be opened. Other search engines can be 191 # used by prepending the search engine name to the search term, e.g. 192 # `:open google qutebrowser`. 193 # Type: Dict 194 c.url.searchengines = {'DEFAULT': 'https://ddg.gg/?q={}'} 195 196 # Page(s) to open at the start. 197 # Type: List of FuzzyUrl, or FuzzyUrl 198 c.url.start_pages = 'https://start.pyratebeard.net' 199 200 # Text color of the completion widget. May be a single color to use for 201 # all columns or a list of three colors, one for each column. 202 # Type: List of QtColor, or QtColor 203 c.colors.completion.fg = ['#d3cab3', '#d3cab3', '#d3cab3'] 204 205 # Background color of the completion widget for even rows. 206 # Type: QssColor 207 c.colors.completion.even.bg = '#454545' 208 209 # Foreground color of completion widget category headers. 210 # Type: QtColor 211 c.colors.completion.category.fg = '#d3cab3' 212 213 # Top border color of the completion widget category headers. 214 # Type: QssColor 215 c.colors.completion.category.border.top = '#1f1d1b' 216 217 # Bottom border color of the completion widget category headers. 218 # Type: QssColor 219 c.colors.completion.category.border.bottom = '#1f1d1b' 220 221 # Background color of the selected completion item. 222 # Type: QssColor 223 c.colors.completion.item.selected.bg = '#a3535e' 224 225 # Background color for the download bar. 226 # Type: QssColor 227 c.colors.downloads.bar.bg = '#1f1d1b' 228 229 # Color gradient start for download text. 230 # Type: QtColor 231 c.colors.downloads.start.fg = '#c9b09a' 232 233 # Color gradient start for download backgrounds. 234 # Type: QtColor 235 c.colors.downloads.start.bg = '#8b6268' 236 237 # Color gradient end for download text. 238 # Type: QtColor 239 c.colors.downloads.stop.fg = '#1f1d1b' 240 241 # Color gradient stop for download backgrounds. 242 # Type: QtColor 243 c.colors.downloads.stop.bg = '#a4b810' 244 245 # Color gradient interpolation system for download backgrounds. 246 # Type: ColorSystem 247 # Valid values: 248 # - rgb: Interpolate in the RGB color system. 249 # - hsv: Interpolate in the HSV color system. 250 # - hsl: Interpolate in the HSL color system. 251 # - none: Don't show a gradient. 252 c.colors.downloads.system.bg = 'rgb' 253 254 # Foreground color for downloads with errors. 255 # Type: QtColor 256 c.colors.downloads.error.fg = '#fbf0d2' 257 258 # Background color for downloads with errors. 259 # Type: QtColor 260 c.colors.downloads.error.bg = '#bb6055' 261 262 # Font color for hints. 263 # Type: QssColor 264 c.colors.hints.fg = '#fbf0d2' 265 266 # Background color for hints. Note that you can use a `rgba(...)` value 267 # for transparency. 268 # Type: QssColor 269 c.colors.hints.bg = '#1f1d1b' 270 271 # Font color for the matched part of hints. 272 # Type: QtColor 273 c.colors.hints.match.fg = '#dab733' 274 275 # Background color of the keyhint widget. 276 # Type: QssColor 277 c.colors.keyhint.bg = 'rgba(0, 0, 0, 80%)' 278 279 # Foreground color of the statusbar. 280 # Type: QssColor 281 c.colors.statusbar.normal.fg = '#fbf0d2' 282 283 # Background color of the statusbar. 284 # Type: QssColor 285 c.colors.statusbar.normal.bg = '#1f1d1b' 286 287 # Foreground color of the statusbar in insert mode. 288 # Type: QssColor 289 c.colors.statusbar.insert.fg = '#1f1d1b' 290 291 # Background color of the statusbar in insert mode. 292 # Type: QssColor 293 c.colors.statusbar.insert.bg = '#80964d' 294 295 # Foreground color of the statusbar in command mode. 296 # Type: QssColor 297 c.colors.statusbar.command.fg = '#d3cab3' 298 299 # Background color of the statusbar in command mode. 300 # Type: QssColor 301 c.colors.statusbar.command.bg = '#454545' 302 303 # Default foreground color of the URL in the statusbar. 304 # Type: QssColor 305 c.colors.statusbar.url.fg = '#fbf0d2' 306 307 # Foreground color of the URL in the statusbar on error. 308 # Type: QssColor 309 c.colors.statusbar.url.error.fg = '#c94539' 310 311 # Foreground color of the URL in the statusbar on successful load 312 # (http). 313 # Type: QssColor 314 c.colors.statusbar.url.success.http.fg = '#756583' 315 316 # Foreground color of the URL in the statusbar on successful load 317 # (https). 318 # Type: QssColor 319 c.colors.statusbar.url.success.https.fg = '#aabb46' 320 321 # Foreground color of the URL in the statusbar when there's a warning. 322 # Type: QssColor 323 c.colors.statusbar.url.warn.fg = '#c94539' 324 325 # Color gradient start for the tab indicator. 326 # Type: QtColor 327 c.colors.tabs.indicator.start = '#1f1d1b' 328 329 # Foreground color of unselected odd tabs. 330 # Type: QtColor 331 c.colors.tabs.odd.fg = '#626262' 332 333 # Background color of unselected odd tabs. 334 # Type: QtColor 335 c.colors.tabs.odd.bg = '#181512' 336 337 # Foreground color of unselected even tabs. 338 # Type: QtColor 339 c.colors.tabs.even.fg = '#626262' 340 341 # Background color of unselected even tabs. 342 # Type: QtColor 343 c.colors.tabs.even.bg = '#181512' 344 345 # Foreground color of selected odd tabs. 346 # Type: QtColor 347 c.colors.tabs.selected.odd.fg = '#1f1d1b' 348 349 # Background color of selected odd tabs. 350 # Type: QtColor 351 c.colors.tabs.selected.odd.bg = '#aabb46' 352 353 # Foreground color of selected even tabs. 354 # Type: QtColor 355 c.colors.tabs.selected.even.fg = '#1f1d1b' 356 357 # Background color of selected even tabs. 358 # Type: QtColor 359 c.colors.tabs.selected.even.bg = '#aabb46' 360 361 # Default font families to use. Whenever "default_family" is used in a 362 # font setting, it's replaced with the fonts listed here. If set to an 363 # empty value, a system-specific monospace default is used. 364 # Type: List of Font, or Font 365 c.fonts.default_family = 'tamzen' 366 367 # Default font size to use. Whenever "default_size" is used in a font 368 # setting, it's replaced with the size listed here. Valid values are 369 # either a float value with a "pt" suffix, or an integer value with a 370 # "px" suffix. 371 # Type: String 372 c.fonts.default_size = '11pt' 373 374 # Font used for the downloadbar. 375 # Type: Font 376 c.fonts.downloads = 'default_size default_family'