]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/config.py
lazyvim: absorb treesitter plugins
[dotfiles.git] / qutebrowser / config.py
index 0994d6b3a1ac2fb8c6c09624d7a8a65af4d7519a..fa173b364506a44641205a027abfea715f1b0e79 100644 (file)
@@ -15,6 +15,8 @@ def in_terminal(cmd: list):
     """
     from os import getenv
     t = getenv('TERMINAL', 'xterm')
     """
     from os import getenv
     t = getenv('TERMINAL', 'xterm')
+    if t == "wezterm":
+        return [t, "start", "--always-new-process", "--"] + cmd
     return [t, '-e'] + cmd
 
 
     return [t, '-e'] + cmd
 
 
@@ -193,7 +195,7 @@ c.changelog_after_upgrade = 'patch'
 ##   - auto: Use the system-wide color scheme setting.
 ##   - light: Force a light theme.
 ##   - dark: Force a dark theme.
 ##   - auto: Use the system-wide color scheme setting.
 ##   - light: Force a light theme.
 ##   - dark: Force a dark theme.
-# c.colors.webpage.preferred_color_scheme = 'auto'
+c.colors.webpage.preferred_color_scheme = 'dark'
 
 ## Number of commands to save in the command history. 0: no history / -1:
 ## unlimited
 
 ## Number of commands to save in the command history. 0: no history / -1:
 ## unlimited
@@ -761,6 +763,7 @@ with config.pattern('*://calendar.google.com/*') as p:
 ## Type: Bool
 c.content.webgl = False
 config.set('content.webgl', True, '*://meet.google.com/*')
 ## Type: Bool
 c.content.webgl = False
 config.set('content.webgl', True, '*://meet.google.com/*')
+config.set('content.webgl', True, '*://*.robinpowered.com/*')
 
 ## Which interfaces to expose via WebRTC.
 ## Type: String
 
 ## Which interfaces to expose via WebRTC.
 ## Type: String
@@ -1450,7 +1453,8 @@ c.qt.args = ['proxy-pac-url=file://' + str(config.configdir / 'proxy.pac')]
 ## sessions from the sate file, if you want to not load any sessions,
 ## pass an empty list.
 ## Type: List of String
 ## sessions from the sate file, if you want to not load any sessions,
 ## pass an empty list.
 ## Type: List of String
-# c.session.startup_sessions = None
+# NOTE: I only want this with my sessions patch
+c.session.startup_sessions = ['default', 'work']
 
 ## Languages to use for spell checking. You can check for available
 ## languages and install dictionaries using scripts/dictcli.py. Run the
 
 ## Languages to use for spell checking. You can check for available
 ## languages and install dictionaries using scripts/dictcli.py. Run the
@@ -1815,7 +1819,8 @@ c.url.searchengines = {'DEFAULT':        'https://duckduckgo.com/?t=chakra&q={}'
                        'h':              'https://hoogle.haskell.org/?hoogle={}',
                        'fpp/slack':      'https://focalpointpositioning.slack.com/messages/{}',
                        'fpp/confluence': 'https://fppnt.atlassian.net/wiki/search?text={}',
                        '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={}',
                       }
                        'dev':            'https://devdocs.io/#q={}',
                        'phind':          'https://www.phind.com/search?q={}',
                       }
@@ -1836,7 +1841,8 @@ c.url.searchengines = {'DEFAULT':        'https://duckduckgo.com/?t=chakra&q={}'
 ## Format to use for the window title. The same placeholders like for
 ## `tabs.title.format` are defined.
 ## Type: FormatString
 ## Format to use for the window title. The same placeholders like for
 ## `tabs.title.format` are defined.
 ## Type: FormatString
-# c.window.title_format = '{perc}{current_title}{title_sep}qutebrowser'
+# NOTE: I think [session] is from my changes on the branch
+# c.window.title_format = '[{session}] {perc}{current_title}{title_sep}qutebrowser'
 
 ## Set the main window background to transparent.  This allows having a
 ## transparent tab- or statusbar (might require a compositor such as
 
 ## Set the main window background to transparent.  This allows having a
 ## transparent tab- or statusbar (might require a compositor such as
@@ -2005,6 +2011,7 @@ config.bind('tCh', 'spawn --userscript config-cycle-tld -p    content.cookies.ac
 config.bind('tch', 'spawn --userscript config-cycle-tld -p -t content.cookies.accept no-3rdparty never all;; reload')
 config.bind('tGh', 'spawn --userscript config-cycle-tld -p    content.geolocation ;; reload')
 config.bind('tgh', 'spawn --userscript config-cycle-tld -p -t content.geolocation ;; reload')
 config.bind('tch', 'spawn --userscript config-cycle-tld -p -t content.cookies.accept no-3rdparty never all;; reload')
 config.bind('tGh', 'spawn --userscript config-cycle-tld -p    content.geolocation ;; reload')
 config.bind('tgh', 'spawn --userscript config-cycle-tld -p -t content.geolocation ;; reload')
+config.bind('twh', 'spawn --userscript config-cycle-tld -p -t content.webgl ;; reload')
 # config.bind('tIH', 'config-cycle -p -u *://*.{url:host}/* content.images ;; reload')
 # config.bind('tIh', 'config-cycle -p -u *://{url:host}/* content.images ;; reload')
 # config.bind('tIu', 'config-cycle -p -u {url} content.images ;; reload')
 # config.bind('tIH', 'config-cycle -p -u *://*.{url:host}/* content.images ;; reload')
 # config.bind('tIh', 'config-cycle -p -u *://{url:host}/* content.images ;; reload')
 # config.bind('tIu', 'config-cycle -p -u {url} content.images ;; reload')