]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/config.py
qutebrowser: enable scrollbar when searching
[dotfiles.git] / qutebrowser / config.py
index becd0ccc342f80b082f88bcbe05f75a9324bdb4d..810745352193b6f84afed7edf4d13a99b45ec8bf 100644 (file)
@@ -579,7 +579,7 @@ c.content.cookies.accept = 'no-3rdparty'
 
 ## Try to pre-fetch DNS entries to speed up browsing.
 ## Type: Bool
 
 ## Try to pre-fetch DNS entries to speed up browsing.
 ## Type: Bool
-c.content.dns_prefetch = True
+c.content.dns_prefetch = True
 
 ## Expand each subframe to its contents. This will flatten all the frames
 ## to become one scrollable page.
 
 ## Expand each subframe to its contents. This will flatten all the frames
 ## to become one scrollable page.
@@ -597,7 +597,7 @@ c.content.cookies.accept = 'no-3rdparty'
 ## Value to send in the `Accept-Language` header. Note that the value
 ## read from JavaScript is always the global value.
 ## Type: String
 ## Value to send in the `Accept-Language` header. Note that the value
 ## read from JavaScript is always the global value.
 ## Type: String
-c.content.headers.accept_language = 'en-US,en,de,fr'
+c.content.headers.accept_language = 'en-UK;q=1.0, en;q=0.9, de;q=0.7, fr;q=0.7, *;q=0.5'
 
 ## Custom headers for qutebrowser HTTP requests.
 ## Type: Dict
 
 ## Custom headers for qutebrowser HTTP requests.
 ## Type: Dict
@@ -800,6 +800,10 @@ c.content.headers.accept_language = 'en-US,en,de,fr'
 ##   - false
 ##   - ask
 # c.content.register_protocol_handler = 'ask'
 ##   - 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.
 
 ## 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`.
 ##   - 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.
 
 ## Enable smooth scrolling for web pages. Note smooth scrolling does not
 ## work with the `:scroll-px` command.