diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/.local/bin/passmenu | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/.local/bin/passmenu b/bin/.local/bin/passmenu new file mode 100755 index 0000000..cd00203 --- /dev/null +++ b/bin/.local/bin/passmenu | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | password=$(find ~/.password-store/ -type f -name '*.gpg' | | ||
4 | sed 's/.*\/\(.*\)\.gpg$/\1/' | dmenu -l 5 -p "Pass:") | ||
5 | [ -n "$password" ] && pass show -c "$password" | ||