]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/config.py
qutebrowser: update quickmarks
[dotfiles.git] / qutebrowser / config.py
index 470d26348cce1baaa8712a9f78ac47babdb268fd..81a4238b2cf96b8756632c0cac20a2b0de792d54 100644 (file)
@@ -39,7 +39,10 @@ try:
             message.info("Redirecting to " + url.toString())
             info.redirect(url)
 
-    interceptor.register(intercept)
+    #FIXME: trying this disabled for a bit to test if qb crashes less
+    #2022-08-16 enabling it again (and off again)
+    # yeah crashed immediately
+    # interceptor.register(intercept)
 except ImportError:
     pass
 
@@ -527,7 +530,9 @@ c.content.headers.accept_language = 'en-UK;q=1.0, en;q=0.9, de;q=0.7, fr;q=0.7,
 ##   - none: Disable access to clipboard.
 ##   - access: Allow reading from and writing to the clipboard.
 ##   - access-paste: Allow accessing the clipboard and pasting clipboard content.
-# c.content.javascript.clipboard = 'none'
+c.content.javascript.clipboard = 'none'
+config.set('content.javascript.clipboard', 'access', '*://*.gitlab.com/*')
+config.set('content.javascript.clipboard', 'access', '*://*.github.com/*')
 
 ## Enable JavaScript.
 ## Type: Bool
@@ -666,7 +671,7 @@ config.set('content.notifications.enabled', True, '*://*.google.com/*')
 ## `:prompt-open-download --pdfjs` command (bound to `<Ctrl-p>` by
 ## default) can be used in the download prompt.
 ## Type: Bool
-# c.content.pdfjs = False
+c.content.pdfjs = True
 
 ## Allow websites to request persistent storage quota via
 ## `navigator.webkitPersistentStorage.requestQuota`.
@@ -1267,7 +1272,7 @@ c.input.insert_mode.leave_on_load = True
 ##   - last-opened: Open new tabs in the last (newest) opened window.
 ##   - last-focused: Open new tabs in the most recently focused window.
 ##   - last-visible: Open new tabs in the most recently visible window.
-# c.new_instance_open_target_window = 'last-focused'
+c.new_instance_open_target_window = 'last-visible'
 
 ## Show a filebrowser in download prompts.
 ## Type: Bool
@@ -1792,13 +1797,16 @@ c.tabs.select_on_remove = 'prev'
 ## the search engine name to the search term, e.g. `:open google
 ## qutebrowser`.
 ## Type: Dict
-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/{}',
-                       'slack':   'https://focalpointpositioning.slack.com/messages/{}',
-                       'std':     'http://en.cppreference.com/mwiki/index.php?title=Special%3ASearch&search={}',
-                       'hoogle':  'https://hoogle.haskell.org/?hoogle={}',
-                       'h':       'https://hoogle.haskell.org/?hoogle={}',
+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={}',
+                       '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={}',
+                       'dev':            'https://devdocs.io/#q={}',
                       }
 
 ## Page(s) to open at the start.