summaryrefslogtreecommitdiff
path: root/bin/menuscripts
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-06-20 12:04:39 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-06-20 12:04:39 +0200
commite5eb7f627f4632dab17e0cc0f727cb9b1f70d8a1 (patch)
tree75c7f8560539303e4a5c1f93241a1e8912bad4cc /bin/menuscripts
parent05e1216b45340702f82a4946002015a05cebe9b1 (diff)
parent947f7df73f16981f170265a64a964142fc617023 (diff)
Merge branch 'main' of db:dotfiles
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"