diff --git a/bwSearch b/bwSearch index 4573983..d106757 100755 --- a/bwSearch +++ b/bwSearch @@ -17,8 +17,9 @@ for row in $(echo "${json}" | jq -r '.[] | @base64'); do # echo $(_jq '.login.username') user="$(echo $(_jq '.login.username'))" - usersdmenu="$usersdmenu$user\n" #array used for the choosing phase in dmenu - userssplit="$userssplit$user," #array used for extracting the password from the json + name="$(echo $(_jq '.name'))" + usersdmenu="$usersdmenu$user - $name\n" #array used for the choosing phase in dmenu + userssplit="$userssplit$user - $name," #array used for extracting the password from the json password="$(_jq '.login.password')" passwords="$passwords$password,"