From 2f92e57903f3955e66e907f87b231b5fcba0b222 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 29 Aug 2020 09:52:56 -0300 Subject: Updates config.py to newer version --- config.dot/qutebrowser/config.py.link | 335 ++++++++++++++++++++++++++++------ 1 file changed, 277 insertions(+), 58 deletions(-) diff --git a/config.dot/qutebrowser/config.py.link b/config.dot/qutebrowser/config.py.link index 1a56821..caaebf5 100644 --- a/config.dot/qutebrowser/config.py.link +++ b/config.dot/qutebrowser/config.py.link @@ -10,7 +10,7 @@ ## Aliases for commands. The keys of the given dictionary are the ## aliases, while the values are the commands they map to. ## Type: Dict -# c.aliases = {'w': 'session-save', 'q': 'quit', 'wq': 'quit --save'} +# c.aliases = {'w': 'session-save', 'q': 'close', 'qa': 'quit', 'wq': 'quit --save', 'wqa': 'quit --save'} ## Time interval (in milliseconds) between auto-saves of ## config/cookies/etc. @@ -42,7 +42,7 @@ ## when a key is bound (via `bindings.default` or `bindings.commands`), ## the mapping is ignored. ## Type: Dict -# c.bindings.key_mappings = {'': '', '': '', '': '', '': '', '': '', '': '', '': '', '': ''} +# c.bindings.key_mappings = {'': '', '': '', '': '', '': '', '': '', '': '', '': '', '': ''} ## Background color of the completion widget category headers. ## Type: QssColor @@ -86,7 +86,7 @@ # c.colors.completion.item.selected.fg = 'black' ## Foreground color of the matched text in the completion. -## Type: QssColor +## Type: QtColor # c.colors.completion.match.fg = '#ff4444' ## Background color of the completion widget for odd rows. @@ -227,12 +227,12 @@ ## Background color of the statusbar in caret mode. ## Type: QssColor # c.colors.statusbar.caret.bg = 'purple' -c.colors.statusbar.normal.bg = '#1c1c1c' -c.colors.tabs.even.bg = '#1c1c1c' -c.colors.tabs.odd.bg = '#1c1c1c' +c.colors.statusbar.normal.bg = '#1c1c1c' +c.colors.tabs.even.bg = '#1c1c1c' +c.colors.tabs.odd.bg = '#1c1c1c' c.colors.tabs.selected.even.bg = '#444444' -c.colors.tabs.selected.odd.bg = '#444444' -c.fonts.messages.warning = '10pt monospace' +c.colors.tabs.selected.odd.bg = '#444444' +c.fonts.messages.warning = '10pt monospace' ## Foreground color of the statusbar in caret mode. ## Type: QssColor @@ -405,6 +405,15 @@ c.fonts.messages.warning = '10pt monospace' ## Type: Int # c.completion.min_chars = 1 +## Which categories to show (in which order) in the :open completion. +## Type: FlagList +## Valid values: +## - searchengines +## - quickmarks +## - bookmarks +## - history +# c.completion.open_categories = ['searchengines', 'quickmarks', 'bookmarks', 'history'] + ## Move on to the next part when there's only one possible completion ## left. ## Type: Bool @@ -439,10 +448,18 @@ c.fonts.messages.warning = '10pt monospace' ## Type: Bool # c.completion.use_best_match = False +## A list of patterns which should not be shown in the history. This only +## affects the completion. Matching URLs are still saved in the history +## (and visible on the qute://history page), but hidden in the +## completion. Changing this setting will cause the completion history to +## be regenerated on the next start, which will take a short while. +## Type: List of UrlPattern +# c.completion.web_history.exclude = [] + ## Number of URLs to show in the web history. 0: no history / -1: ## unlimited ## Type: Int -# c.completion.web_history_max_items = -1 +# c.completion.web_history.max_items = -1 ## Require a confirmation before quitting the application. ## Type: ConfirmQuit @@ -453,6 +470,11 @@ c.fonts.messages.warning = '10pt monospace' ## - never: Never show a confirmation. # c.confirm_quit = ['never'] +## Automatically start playing `