diff options
author | Isaac Lo <isaaclo123@gmail.com> | 2019-04-23 14:48:26 -0500 |
---|---|---|
committer | Isaac Lo <isaaclo123@gmail.com> | 2019-04-23 14:48:26 -0500 |
commit | 848415eaba8b1fad0b6e4c1f3a4df17a8e56fd27 (patch) | |
tree | c07c9248f77abf208edfbbc0103c9b68d5e20da9 | |
parent | e2e1cf75f66aead25a9619c49cc50cb260b5c972 (diff) | |
download | rofi-pass-848415eaba8b1fad0b6e4c1f3a4df17a8e56fd27.tar.gz |
(fix #166): password hidden
* used -password option to hide password when entering it in rofi-pass
-rwxr-xr-x | rofi-pass | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -385,7 +385,7 @@ mainMenu () { fields=$(printf '%s\n' "${password_temp[@]:1}" | awk '$1 ~ /:$/ || /otpauth:\/\// {$1=$1;print}') declare -A stuff stuff["pass"]=${password} - + if [[ -n $fields ]]; then while read -r LINE; do unset _id _val @@ -713,7 +713,7 @@ insertPass () { exit fi - pw=$(printf '%s' "Generate" | _rofi -dmenu -p "Password > " -mesg "Type Password or hit Enter to generate one") + pw=$(printf '%s' "Generate" | _rofi -dmenu -password -p "Password > " -mesg "Type Password or hit Enter to generate one") if [[ $pw == "Generate" ]]; then pw=$(_pwgen "${password_length}") @@ -754,7 +754,7 @@ insertPass () { } help_msg () { - cat <<'EOF' + cat <<'EOF' Usage: rofi-pass [command] |