summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-03-29 15:44:43 +0000
committerShubham Saini <shubham6405@gmail.com>2020-03-29 15:44:43 +0000
commitf6ab703716f4bbd1df25d2eb63fae10d1b6aa6b5 (patch)
treedfdf7f6f490eb525daadfb62d0805dffdea6a7b3 /bin
parent70aa35c1b7311462c7564e36f6f8aae282587009 (diff)
less bloat
Diffstat (limited to 'bin')
-rwxr-xr-xbin/.local/bin/passmenu5
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
3password=$(find ~/.password-store/ -type f -name '*.gpg' |
4 sed 's/.*\/\(.*\)\.gpg$/\1/' | dmenu -l 5 -p "Pass:")
5[ -n "$password" ] && pass show -c "$password"