Refactor qutebrowser searchengine config
This commit is contained in:
parent
f47badde11
commit
ed65fd6c29
5 changed files with 32 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
import dracula.draw
|
||||
|
||||
def init(c):
|
||||
def init(c, bangs):
|
||||
c.auto_save.session = True
|
||||
|
||||
#c.colors.webpage.darkmode.enabled = True
|
||||
|
@ -21,21 +21,17 @@ def init(c):
|
|||
c.tabs.background = True
|
||||
c.tabs.mousewheel_switching = False
|
||||
c.tabs.new_position.related = 'last'
|
||||
c.tabs.pinned.frozen = False
|
||||
c.tabs.pinned.frozen = True
|
||||
|
||||
c.qt.workarounds.remove_service_workers = True
|
||||
|
||||
c.url.searchengines = {
|
||||
'DEFAULT': 'https://duckduckgo.com/?q={}',
|
||||
search_engines = {
|
||||
'ddg': 'https://duckduckgo.com/?q={}',
|
||||
'kagi': 'https://kagi.com/search?q={}',
|
||||
'!lh': 'http://localhost:{}/',
|
||||
'!12ft': 'http://12ft.io/proxy?q={}/',
|
||||
'!osm': 'https://www.openstreetmap.org/search?query={}',
|
||||
'!cheatsheet': 'https://cheatsheets.zip/?q={}',
|
||||
'!timer': 'https://webuhr.de/timer/#countdown=00:{unquoted}',
|
||||
'!alarm': 'https://webuhr.de/#time={unquoted}',
|
||||
'qwant': 'https://www.qwant.com/?q={}',
|
||||
}
|
||||
search_engines['DEFAULT'] = search_engines['qwant']
|
||||
c.url.searchengines = search_engines | bangs
|
||||
|
||||
c.url.start_pages = [
|
||||
'https://rss.serguzim.me/',
|
||||
'http://homeassistant-33:8123/',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue