From 0119f87fc215cf0a81159706e4831feff3f8b2ca Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 27 Jul 2020 15:24:32 +0200 Subject: [PATCH] userscripts: Improve qute-pass docs --- misc/userscripts/qute-pass | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/misc/userscripts/qute-pass b/misc/userscripts/qute-pass index de12efa34..c624503c4 100755 --- a/misc/userscripts/qute-pass +++ b/misc/userscripts/qute-pass @@ -22,10 +22,16 @@ Insert login information using pass and a dmenu-compatible application (e.g. dme demonstration can be seen here: https://i.imgur.com/KN3XuZP.gif. """ -USAGE = """The domain of the site has to appear as a segment in the pass path, for example: "github.com/cryzed" or -"websites/github.com". How the username and password are determined is freely configurable using the CLI arguments. The -login information is inserted by emulating key events using qutebrowser's fake-key command in this manner: -[USERNAME][PASSWORD], which is compatible with almost all login forms. +USAGE = """The domain of the site has to appear as a segment in the pass path, +for example: "github.com/cryzed" or "websites/github.com". How the username and +password are determined is freely configurable using the CLI arguments. As an +example, if you instead store the username as part of the secret (and use a +site's name as filename), instead of the default configuration, use +`--username-target secret` and `--username-regex "username: (.+)"`. + +The login information is inserted by emulating key events using qutebrowser's +fake-key command in this manner: [USERNAME][PASSWORD], which is compatible +with almost all login forms. If you use gopass with multiple mounts, use the CLI switch --mode gopass to switch to gopass mode.