diff options
| author | Joe <rbo@gmx.us> | 2024-12-27 09:55:45 +0100 |
|---|---|---|
| committer | Joe <rbo@gmx.us> | 2024-12-27 09:55:45 +0100 |
| commit | 48e216d8f05423454cfd2ebbb56a72679c74019f (patch) | |
| tree | d9c51db27d383109dd826b9abecb3e6d477a3cec /.local/bin/dmotp | |
| parent | up (diff) | |
| download | dotfiles-bsd-48e216d8f05423454cfd2ebbb56a72679c74019f.tar.gz dotfiles-bsd-48e216d8f05423454cfd2ebbb56a72679c74019f.tar.bz2 dotfiles-bsd-48e216d8f05423454cfd2ebbb56a72679c74019f.tar.xz dotfiles-bsd-48e216d8f05423454cfd2ebbb56a72679c74019f.tar.zst dotfiles-bsd-48e216d8f05423454cfd2ebbb56a72679c74019f.zip | |
up
Diffstat (limited to '.local/bin/dmotp')
| -rwxr-xr-x | .local/bin/dmotp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/dmotp b/.local/bin/dmotp index 9744bc7..b5a36f6 100755 --- a/.local/bin/dmotp +++ b/.local/bin/dmotp @@ -14,7 +14,7 @@ fi prefix=${PASSWORD_STORE_DIR-~/.local/share/pass}/otp rprefix=$(printf "%s" $prefix | sed 's/\//\\\//g') password_files=$(ls "$prefix"/*.gpg | sed 's/^'${rprefix}'\///g' | sed 's/\.gpg//g') -password=$(printf "%s\n" "${password_files}" | "$dmenu" -i -l 15 -m 0) +password=$(printf "%s\n" "${password_files}" | "$dmenu" -i -l 15) [ -n "$password" ] || exit |
