aboutsummaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2024-10-11 07:51:58 +1000
committerkatherine <ageha@airen-no-jikken.icu>2024-10-11 07:51:58 +1000
commitd23e86391532ccb662850b75ae0543d09d4e112e (patch)
tree5975a325c79b670e8597d3e829cd9ed6afcda877 /.config
parent9fd8b1d0a8c3e7acc76bda9c19c6438ce6850dd5 (diff)
downloaddotfiles-d23e86391532ccb662850b75ae0543d09d4e112e.tar.gz
exclude otp entries from pass menu
Diffstat (limited to '.config')
-rwxr-xr-x.config/herbstluftwm/pass.sh4
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 \