Added rofi script for pass
This commit is contained in:
parent
6795d6e105
commit
2cb6ae9545
13
scripts/rofi-pass-simple.sh
Executable file
13
scripts/rofi-pass-simple.sh
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ ! -z "$PASSWORD_STORE_DIR" ]; then
|
||||||
|
cd "$PASSWORD_STORE_DIR"
|
||||||
|
else
|
||||||
|
cd "$HOME/.password-store"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z $@ ]; then
|
||||||
|
find -name \*.gpg | sed 's/\.\/\(.*\)\.gpg/\1/'
|
||||||
|
else
|
||||||
|
nohup pass show -c "$@" >/dev/null &
|
||||||
|
fi
|
Loading…
Reference in a new issue