From 9e82c96713989a7565eadac505b36e3dbe91cd5a Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sun, 11 Jun 2023 07:56:17 -0400 Subject: Added, removed, renamed scripts --- .local/bin/getpass-otp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/getpass-otp') diff --git a/.local/bin/getpass-otp b/.local/bin/getpass-otp index 535cc31..19c0c0e 100755 --- a/.local/bin/getpass-otp +++ b/.local/bin/getpass-otp @@ -3,7 +3,7 @@ pb=$PASSWORD_STORE_DIR [ -z "$PASSWORD_STORE_CLIP_TIME" ] && ct=45 || ct=$PASSWORD_STORE_CLIP_TIME chars=$(echo $pb | wc -c) -accts=$(find $pb -type f -name "*-OTP.gpg" | cut -c $chars- | \ +accts=$(find $pb -type f -name "*.gpg" | cut -c $chars- | \ rev | cut -c 5- | rev) acct="$(echo "$accts" | dmenu)" pass otp code $acct | xclip -r -selection "primary" \ -- cgit v1.2.3