diff options
author | Shubham Saini <shubham6405@gmail.com> | 2020-03-29 15:44:43 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@gmail.com> | 2020-03-29 15:44:43 +0000 |
commit | f6ab703716f4bbd1df25d2eb63fae10d1b6aa6b5 (patch) | |
tree | dfdf7f6f490eb525daadfb62d0805dffdea6a7b3 /bin | |
parent | 70aa35c1b7311462c7564e36f6f8aae282587009 (diff) |
less bloat
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" | ||