summaryrefslogtreecommitdiff
path: root/bin/menuscripts
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-05-27 14:17:49 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-05-27 14:17:49 +0200
commitf32fc8b9eb8303d1ca2e1cc17773bc44d38fff3d (patch)
tree6327f7c57886a63dcb711803b059bd4d9568cb0d /bin/menuscripts
parent41712f9a97da7ee3c98ccbc6a17e119c09d0b7e2 (diff)
updated
Diffstat (limited to 'bin/menuscripts')
-rwxr-xr-xbin/menuscripts/mpass-otp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/menuscripts/mpass-otp b/bin/menuscripts/mpass-otp
index 52d1341..2be6186 100755
--- a/bin/menuscripts/mpass-otp
+++ b/bin/menuscripts/mpass-otp
@@ -1,7 +1,7 @@
#!/bin/sh
pass="$(find "$PASSWORD_STORE_DIR"/keys/otp -iname "*.gpg" |
sed "/^\./d;s#^$PASSWORD_STORE_DIR/keys/otp/##;s/\.gpg$//" |
- commander -c)"
+ dmenu -c)"
[ "$pass" ] || exit 1
pass otp -c keys/otp/"$pass"
notify-send -t 1000 "mpass" "copied $pass"