diff options
author | katherine <ageha@airen-no-jikken.icu> | 2024-10-11 07:51:58 +1000 |
---|---|---|
committer | katherine <ageha@airen-no-jikken.icu> | 2024-10-11 07:51:58 +1000 |
commit | d23e86391532ccb662850b75ae0543d09d4e112e (patch) | |
tree | 5975a325c79b670e8597d3e829cd9ed6afcda877 /.config | |
parent | 9fd8b1d0a8c3e7acc76bda9c19c6438ce6850dd5 (diff) | |
download | dotfiles-d23e86391532ccb662850b75ae0543d09d4e112e.tar.gz |
exclude otp entries from pass menu
Diffstat (limited to '.config')
-rwxr-xr-x | .config/herbstluftwm/pass.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/herbstluftwm/pass.sh b/.config/herbstluftwm/pass.sh index 32a7b2d..325197b 100755 --- a/.config/herbstluftwm/pass.sh +++ b/.config/herbstluftwm/pass.sh @@ -7,7 +7,9 @@ zparseopts -M -E -A args \ local password_files -password_files=( ~/.password-store/**/*.gpg ) +setopt extendedglob + +password_files=( ~/.password-store/**/^(otp-)*.gpg ) password_files=( ${password_files:t:r} ) printf "%s\n" $password_files | dmenu -fn "${bfont}:size=${bfont_size}" -i \ |