aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier@Portable <olivier.radisson@insa-lyon.fr>2018-08-02 20:58:08 +0200
committerOlivier@Portable <olivier.radisson@insa-lyon.fr>2018-08-02 20:58:08 +0200
commitdb4383a186663e5091a373d46c8096c8fdc8c5af (patch)
tree82d4a31551da6b1d5a0851f39fc9a8696158488e
parentac37bca5a45c4a50ea9f75aaf901f12c27d8e1ac (diff)
downloadrofi-pass-db4383a186663e5091a373d46c8096c8fdc8c5af.tar.gz
add documentation about user from filename functionnality
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index e28a9ba..6153601 100644
--- a/README.md
+++ b/README.md
@@ -121,6 +121,12 @@ Rofi-pass allows you to easily share common used passwords across multiple entri
For example, if you have an academic account which includes several services (such as a library, Salary, Student portal etc), all with different URL's, login forms etc. you can share one password across all of them. This is very handy when the passwords change annually.
To use this function you need to add the following line instead of the password, referencing a pass file which holds the password.
+## User filename as user
+
+If your password file has no user field you can ask rofi-pass to use the filename instead.
+For example with this password file path : `web/fsf.org/rms` rofi-pass will user `rms` as your username.
+To get this, you need to set `default_user` to `:filename` in your configuration.
+
```
#FILE=PATH/to/filename
```