feat: move autoconfig.yml -> config.py

This commit is contained in:
Flinner 2022-03-13 20:10:21 +03:00
parent 9090e57749
commit e290210952
Signed by: flinner
GPG Key ID: 95CE0DA7F0E58CA6
1 changed files with 9 additions and 5 deletions

View File

@ -878,7 +878,7 @@ c.content.cookies.store = True
## QtWebEngine, writing the clipboard as response to a user interaction ## QtWebEngine, writing the clipboard as response to a user interaction
## is always allowed. ## is always allowed.
## Type: Bool ## Type: Bool
# c.content.javascript.can_access_clipboard = False c.content.javascript.can_access_clipboard = True
## Allow JavaScript to close tabs. ## Allow JavaScript to close tabs.
## Type: Bool ## Type: Bool
@ -1914,7 +1914,7 @@ c.content.javascript.enabled = False
## - never: Always hide the tab bar. ## - never: Always hide the tab bar.
## - multiple: Hide the tab bar if only one tab is open. ## - multiple: Hide the tab bar if only one tab is open.
## - switching: Show the tab bar when switching tabs. ## - switching: Show the tab bar when switching tabs.
# c.tabs.show = 'always' c.tabs.show = 'multiple'
## Duration (in milliseconds) to show the tab bar before hiding it when ## Duration (in milliseconds) to show the tab bar before hiding it when
## tabs.show is set to 'switching'. ## tabs.show is set to 'switching'.
@ -2021,8 +2021,10 @@ c.content.javascript.enabled = False
## the search engine name to the search term, e.g. `:open google ## the search engine name to the search term, e.g. `:open google
## qutebrowser`. ## qutebrowser`.
## Type: Dict ## Type: Dict
c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}', c.url.searchengines = {'DEFAULT': 'https://searx.neocities.org/?q={}',
'wa':"https://wiki.archlinux.org/?search={}", 'wa':"https://wiki.archlinux.org/?search={}",
'go':"http://google.com/search?q={}",
'ddg':"https://duckduckgo.com/?q={}",
} }
## Page(s) to open at the start. ## Page(s) to open at the start.
@ -2050,7 +2052,7 @@ c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}',
## that main window transparency negatively affects performance. Note ## that main window transparency negatively affects performance. Note
## this setting only affects windows opened after setting it. ## this setting only affects windows opened after setting it.
## Type: Bool ## Type: Bool
# c.window.transparent = False c.window.transparent = True
## Default zoom level. ## Default zoom level.
## Type: Perc ## Type: Perc
@ -2260,6 +2262,8 @@ config.bind('ey', 'yank inline [[{url}][{title}]]')
# config.bind('yy', 'yank') # config.bind('yy', 'yank')
# config.bind('{{', 'navigate prev -t') # config.bind('{{', 'navigate prev -t')
# config.bind('}}', 'navigate next -t') # config.bind('}}', 'navigate next -t')
config.bind(';m', 'hint links spawn mpv {hint-url}')
config.bind(';M', 'spawn mpv {url}')
## Bindings for caret mode ## Bindings for caret mode
# config.bind('$', 'move-to-end-of-line', mode='caret') # config.bind('$', 'move-to-end-of-line', mode='caret')