aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2015-07-17 04:05:48 +0200
committerRasmus Steinke <rasi@xssn.at>2015-07-17 04:05:48 +0200
commiteeab399969fffa803ee9c762ee551074a7e34531 (patch)
treeda517672fa540e76eb6445d920e52c634450ad43
parent4f8c585069cf56b221780f371959dcd649450863 (diff)
downloadrofi-pass-eeab399969fffa803ee9c762ee551074a7e34531.tar.gz
change password to pass for autopass compatibility
-rw-r--r--README.md4
-rwxr-xr-xaddpass2
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index dec4852..a4811cd 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ UserName: MyUser
SomeField: foobar
AnotherField: barfoo
URL: http://my.url.foo
-autotype: SomeField :tab UserName :tab AnotherField :tab password
+autotype: SomeField :tab UserName :tab AnotherField :tab pass
```
The `:tab` field has a special meaning. this will hit the tab key, obviously.
@@ -40,7 +40,7 @@ The `:tab` field has a special meaning. this will hit the tab key, obviously.
## Extras
rofi-pass comes with a tiny helper script, which makes it easier to create new pass entries.
-Just run it with `addpass -name "My new Site" -user "zeltak" -branch "branch" -custom "foobar" -CustomOrder "branch :tab user :tab password"`.
+Just run it with `addpass -name "My new Site" -user "zeltak" -branch "branch" -custom "foobar" -CustomOrder "branch :tab user :tab pass"`.
You can add as many fields as needed. fieldnames are defined with `-` and the actual value is defined inside the quotations.
Also included is an import script for keepass2 databases. It's the same script that can be downloaded from the pass homepage, with some minor modifications to match rofi-pass structure.
diff --git a/addpass b/addpass
index 6217f2d..df254ee 100755
--- a/addpass
+++ b/addpass
@@ -22,7 +22,7 @@ if [[ $1 == "--help" || $1 == "=h" ]]; then
echo " Values should be quoted"
echo ""
echo "Example:"
- echo "adduser --root private -user \"Richard\" -foo \"bar\" -autotype \"foo :tab user :tab password\""
+ echo "adduser --root private -user \"Richard\" -foo \"bar\" -autotype \"foo :tab user :tab pass\"
exit
else
if [[ $* != *"-name "* ]]; then