]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/config.py
qutebrowser: add bindings for qute-pass
[dotfiles.git] / qutebrowser / config.py
index b564c74ad88eb63f39e6413229ad6c2492448c3b..a3bf1223191fb9cab7dbf64033040216208627fc 100644 (file)
@@ -585,6 +585,7 @@ config.set('content.cookies.accept', 'no-3rdparty', '*://*.google.com/*')
 config.set('content.cookies.accept', 'no-3rdparty', '*://*.humblebundle.com/*')
 config.set('content.cookies.accept', 'no-3rdparty', '*://*.mailfence.com/*')
 config.set('content.cookies.accept', 'no-3rdparty', '*://*.reddit.com/*')
+config.set('content.cookies.accept', 'no-3rdparty', '*://*.steampowered.com/*')
 
 ## Store cookies. Note this option needs a restart with QtWebEngine on Qt
 ## < 5.9.
@@ -1855,6 +1856,10 @@ config.bind('m', 'spawn mpv {url}')
 # config.bind('sk', 'set-cmd-text -s :bind')
 # config.bind('sl', 'set-cmd-text -s :set -t')
 # config.bind('ss', 'set-cmd-text -s :set')
+config.bind('tCH', 'spawn --userscript config-cycle-tld -p    content.cookies.accept no-3rdparty never;; reload')
+config.bind('tCh', 'spawn --userscript config-cycle-tld -p    content.cookies.accept no-3rdparty never;; reload')
+config.bind('tcH', 'spawn --userscript config-cycle-tld -p -t content.cookies.accept no-3rdparty never;; reload')
+config.bind('tch', 'spawn --userscript config-cycle-tld -p -t content.cookies.accept no-3rdparty never;; 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')
@@ -1864,9 +1869,6 @@ config.bind('m', 'spawn mpv {url}')
 # config.bind('tSH', 'config-cycle -p -u *://*.{url:host}/* content.javascript.enabled ;; reload')
 # config.bind('tSh', 'config-cycle -p -u *://{url:host}/* content.javascript.enabled ;; reload')
 # config.bind('tSu', 'config-cycle -p -u {url} content.javascript.enabled ;; reload')
-config.bind('tcH', 'config-cycle -p -t -u *://*.{url:host}/* content.cookies.accept no-3rdparty never;; reload')
-config.bind('tch', 'config-cycle -p -t -u *://{url:host}/*   content.cookies.accept no-3rdparty never;; reload')
-config.bind('tcu', 'config-cycle -p -t -u {url}              content.cookies.accept no-3rdparty never;; reload')
 # config.bind('th', 'back -t')
 # config.bind('tiH', 'config-cycle -p -t -u *://*.{url:host}/* content.images ;; reload')
 # config.bind('tih', 'config-cycle -p -t -u *://{url:host}/* content.images ;; reload')
@@ -1902,6 +1904,9 @@ config.bind('tcu', 'config-cycle -p -t -u {url}              content.cookies.acc
 # config.bind('yp', 'yank pretty-url')
 # config.bind('yt', 'yank title')
 # config.bind('yy', 'yank')
+config.bind('zl',  'spawn --userscript qute-pass')
+config.bind('zul', 'spawn --userscript qute-pass --username-only')
+config.bind('zpl', 'spawn --userscript qute-pass --password-only')
 # config.bind('{{', 'navigate prev -t')
 # config.bind('}}', 'navigate next -t')