summaryrefslogtreecommitdiff
path: root/bin/menuscripts
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-07-03 13:37:25 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-07-03 13:37:25 +0200
commitf1b27fa408b669e2a56901c3957b214c8f871056 (patch)
tree6c18d8d82c5eedd219911f9d5e535f1f52abacbd /bin/menuscripts
parent1a26a970acfbd118eef5214a156c6f1c7e48cb1d (diff)
use PASSWORD_STORE_DIR variable
Diffstat (limited to 'bin/menuscripts')
-rwxr-xr-xbin/menuscripts/mpassgen2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/menuscripts/mpassgen b/bin/menuscripts/mpassgen
index a60112b..7932992 100755
--- a/bin/menuscripts/mpassgen
+++ b/bin/menuscripts/mpassgen
@@ -34,7 +34,7 @@ test -z "${password}" && exit 1
if [ "${choice}" = "multiline" ]
then
- login="$(ls -1 ~/.password-store/e-mails |
+ login="$(ls -1 ${PASSWORD_STORE_DIR:=$HOME/.password-store}/e-mails |
sed 's/\.gpg$//' |
$menucmd)"
test -z "${login}" && exit 1