Added the name of the login alongside user
This commit is contained in:
parent
f47346b5c0
commit
7f2ca46ff2
5
bwSearch
5
bwSearch
|
@ -17,8 +17,9 @@ for row in $(echo "${json}" | jq -r '.[] | @base64'); do
|
||||||
|
|
||||||
# echo $(_jq '.login.username')
|
# echo $(_jq '.login.username')
|
||||||
user="$(echo $(_jq '.login.username'))"
|
user="$(echo $(_jq '.login.username'))"
|
||||||
usersdmenu="$usersdmenu$user\n" #array used for the choosing phase in dmenu
|
name="$(echo $(_jq '.name'))"
|
||||||
userssplit="$userssplit$user," #array used for extracting the password from the json
|
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')"
|
password="$(_jq '.login.password')"
|
||||||
passwords="$passwords$password,"
|
passwords="$passwords$password,"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user