X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/6ff5e82b57405e5bd8c03d281e425ee3614800dd..53ec429247f45ca1fc008c16a3f2395d2e473f23:/qutebrowser/config.py diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 6c66de1..8107453 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -800,6 +800,10 @@ c.content.headers.accept_language = 'en-UK;q=1.0, en;q=0.9, de;q=0.7, fr;q=0.7, ## - false ## - ask # c.content.register_protocol_handler = 'ask' +with config.pattern('*://mail.google.com/*') as p: + p.content.register_protocol_handler = False +with config.pattern('*://calendar.google.com/*') as p: + p.content.register_protocol_handler = False ## Enable quirks (such as faked user agent headers) needed to get ## specific sites to work properly. @@ -1248,7 +1252,7 @@ c.hints.scatter = False ## - always: Always show the scrollbar. ## - never: Never show the scrollbar. ## - when-searching: Show the scrollbar when searching for text in the webpage. With the QtWebKit backend, this is equal to `never`. -c.scrolling.bar = 'never' +c.scrolling.bar = 'when-searching' ## Enable smooth scrolling for web pages. Note smooth scrolling does not ## work with the `:scroll-px` command.