]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
feat: Use qute-pass userscript
authorMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 12 Feb 2019 15:39:55 +0000 (15:39 +0000)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 12 Feb 2019 15:39:55 +0000 (15:39 +0000)
qutebrowser/.config/qutebrowser/config.py
qutebrowser/.local/share/qutebrowser/userscripts/qute-pass [new symlink]

index c9627a74dd4d6e7b7158de4fbe80d1d62576fdfd..a3f6962de3f0a574f6c19edb4a63de9de12516b9 100644 (file)
@@ -13,6 +13,11 @@ c.messages.timeout = 5000
 config.bind(',ej', 'spawn --userscript noscript_enable')
 config.bind(',dj', 'spawn --userscript noscript_disable')
 
+config.bind(',zl', 'spawn --userscript qute-pass --dmenu-invocation dmenu')
+config.bind(',zul', 'spawn --userscript qute-pass --dmenu-invocation dmenu --username-only')
+config.bind(',zpl', 'spawn --userscript qute-pass --dmenu-invocation dmenu --password-only')
+config.bind(',zol', 'spawn --userscript qute-pass --dmenu-invocation dmenu --otp-only')
+
 # Allow JS and cookies on own domain
 config.set('content.javascript.enabled', True, '*.friedersdorff.com')
 
diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/qute-pass b/qutebrowser/.local/share/qutebrowser/userscripts/qute-pass
new file mode 120000 (symlink)
index 0000000..6a576f6
--- /dev/null
@@ -0,0 +1 @@
+/usr/share/qutebrowser/userscripts/qute-pass
\ No newline at end of file