pass
This commit is contained in:
parent
00ab0903e7
commit
40827ad5ed
1 changed files with 4 additions and 1 deletions
|
@ -3,5 +3,8 @@ PASSWORD_STORE_DIR="$HOME/.local/share/password-store"
|
||||||
GNUPGHOME="$HOME/.local/share/gnupg"
|
GNUPGHOME="$HOME/.local/share/gnupg"
|
||||||
|
|
||||||
password="$(~/.config/scripts/menu/menu-pass)"
|
password="$(~/.config/scripts/menu/menu-pass)"
|
||||||
[ -z "$password" ] && exit
|
if [ "$?" != 0 ] || [ -z "$password" ] ; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
xdotool type $(pass "$password" | head -n 1)
|
xdotool type $(pass "$password" | head -n 1)
|
||||||
|
|
Loading…
Reference in a new issue