From ea3616b72d529a7148da253c4b1a88fcc76342e2 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Tue, 12 Feb 2019 15:39:55 +0000 Subject: [PATCH] feat: Use qute-pass userscript --- qutebrowser/.config/qutebrowser/config.py | 5 +++++ qutebrowser/.local/share/qutebrowser/userscripts/qute-pass | 1 + 2 files changed, 6 insertions(+) create mode 120000 qutebrowser/.local/share/qutebrowser/userscripts/qute-pass diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index c9627a7..a3f6962 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -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 index 0000000..6a576f6 --- /dev/null +++ b/qutebrowser/.local/share/qutebrowser/userscripts/qute-pass @@ -0,0 +1 @@ +/usr/share/qutebrowser/userscripts/qute-pass \ No newline at end of file -- 2.46.2