]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/config.py
qutebrowser: search directly on ddg instead of cppreference
[dotfiles.git] / qutebrowser / config.py
index 0c0cd584c492826bbb453ea112e719c3ceae9738..c682c9cd10b6ee451ba3afa1c32764b2632df09c 100644 (file)
@@ -490,6 +490,7 @@ c.content.headers.accept_language = 'en-UK;q=1.0, en;q=0.9, de;q=0.7, fr;q=0.7,
 ## JavaScript requires a restart.
 ## Type: FormatString
 # c.content.headers.user_agent = 'Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {qt_key}/{qt_version} {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}'
+config.set('content.headers.user_agent', "'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36", '*://*.slack.com/*')
 
 ## Enable hyperlink auditing (`<a ping>`).
 ## Type: Bool
@@ -1814,12 +1815,13 @@ c.tabs.select_on_remove = 'prev'
 c.url.searchengines = {'DEFAULT':        'https://duckduckgo.com/?t=chakra&q={}',
                        'ddg':            'https://duckduckgo.com/?t=chakra&q={}',
                        'cdda':           'https://nornagon.github.io/cdda-guide/?v=0.F-2#/search/{}',
-                       'std':            'http://en.cppreference.com/mwiki/index.php?title=Special%3ASearch&search={}',
+                       'std':            'https://duckduckgo.com/?sites=en.cppreference.com&q={}',
                        'hoogle':         'https://hoogle.haskell.org/?hoogle={}',
                        'h':              'https://hoogle.haskell.org/?hoogle={}',
                        'fpp/slack':      'https://focalpointpositioning.slack.com/messages/{}',
                        'fpp/confluence': 'https://fppnt.atlassian.net/wiki/search?text={}',
-                       'evk':            'https://gitlab.com/search?&scope=issues&group_id=13301433&search={}',
+                       'evk':            'https://gitlab.com/search?scope=issues&group_id=13301433&search={}',
+                       'stm':            'https://gitlab.com/search?scope=issues&group_id=11101995&project_id=60665292&search={}',
                        'dev':            'https://devdocs.io/#q={}',
                        'phind':          'https://www.phind.com/search?q={}',
                       }