8 lines
228 B
Bash
Executable file
8 lines
228 B
Bash
Executable file
#!/bin/sh
|
|
|
|
PASSWORD_STORE="$HOME/.password-store"
|
|
|
|
cd "$PASSWORD_STORE" || exit 1
|
|
passwords="$(find . -name '*.gpg' | sed -nr 's/^\.\/(.*)\.gpg$/\1/p')"
|
|
selected="$(echo "$passwords" | wofi --dmenu || exit)"
|
|
pass -c "$selected"
|