summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-11-27 23:46:10 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-11-27 23:46:10 +0100
commitf989900f49b186154db323797f8636d44f7d8c1f (patch)
treee35cceef0e3207dd145dbce62f2ade4c7c1d5b34
parentc4891479907e73bd667cd855c52a70f9acf7dc00 (diff)
added notification
-rwxr-xr-xbin/menuscripts/mpass-otp1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/menuscripts/mpass-otp b/bin/menuscripts/mpass-otp
index b60f953..e771f9f 100755
--- a/bin/menuscripts/mpass-otp
+++ b/bin/menuscripts/mpass-otp
@@ -4,3 +4,4 @@ pass="$(find "$PASSWORD_STORE_DIR"/keys/otp -name "*.gpg" -printf '%f\n' |
commander -c)"
[ "$pass" ] || exit 1
pass otp -c keys/otp/"$pass"
+notify-send -t 1000 "mpass" "copied <b>$pass</b>"