From 7f2ca46ff29390f5d032ce53515543e2df31019f Mon Sep 17 00:00:00 2001 From: Marco Raber Date: Mon, 24 Aug 2020 16:29:40 +0200 Subject: [PATCH] Added the name of the login alongside user --- bwSearch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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,"