X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/84e2deef3e6453881262f3cc49e2f38187383bc4..2b3374047e2b358f81a25c5e156424c9fba99e2f:/qutebrowser/config.py diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 0994d6b..66cd4c3 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -15,6 +15,8 @@ def in_terminal(cmd: list): """ from os import getenv t = getenv('TERMINAL', 'xterm') + if t == "wezterm": + return [t, "start", "--always-new-process", "--"] + 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. -# 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 @@ -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/*') +config.set('content.webgl', True, '*://*.robinpowered.com/*') ## Which interfaces to expose via WebRTC. ## Type: String @@ -2005,6 +2008,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('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')