a small tweak to show that we are entering a pass via dmenu

This commit is contained in:
Von Random 2016-11-14 16:10:27 +03:00
parent a08c773ece
commit 5c2c99db25

View file

@ -13,7 +13,7 @@ password_files=( "$prefix"/**/*.gpg )
password_files=( "${password_files[@]#"$prefix"/}" ) password_files=( "${password_files[@]#"$prefix"/}" )
password_files=( "${password_files[@]%.gpg}" ) password_files=( "${password_files[@]%.gpg}" )
password=$(printf '%s\n' "${password_files[@]}" | dmenu "$@") password=$(printf '%s\n' "${password_files[@]}" | dmenu -p pass "$@")
[[ -n $password ]] || exit [[ -n $password ]] || exit