aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2019-04-28 15:33:48 +0200
committerGitHub <noreply@github.com>2019-04-28 15:33:48 +0200
commite07055a558fbe111ed4f9c4767ed1653f7d0e8aa (patch)
treec07c9248f77abf208edfbbc0103c9b68d5e20da9
parente2e1cf75f66aead25a9619c49cc50cb260b5c972 (diff)
parent848415eaba8b1fad0b6e4c1f3a4df17a8e56fd27 (diff)
downloadrofi-pass-e07055a558fbe111ed4f9c4767ed1653f7d0e8aa.tar.gz
Merge pull request #167 from isaaclo123/master
(fix #166): password hidden
-rwxr-xr-xrofi-pass6
1 files changed, 3 insertions, 3 deletions
diff --git a/rofi-pass b/rofi-pass
index 48928db..e7e25ef 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -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]