only use actually typed input
This commit is contained in:
parent
1b6b4a76ef
commit
cd71ca3b7e
@ -390,7 +390,7 @@ listgpg () {
|
|||||||
|
|
||||||
insertPass () {
|
insertPass () {
|
||||||
cd "${root}"
|
cd "${root}"
|
||||||
name="$(listgpg | rofi -dmenu -mesg "Type name, make sure it is unique" -p "> ")"
|
name="$(listgpg | rofi -dmenu -format 'f' -mesg "Type name, make sure it is unique" -p "> ")"
|
||||||
# name="$(echo -e "$(list_passwords 2>/dev/null)" | rofi -dmenu -mesg "Type name, make sure it is unique" -p "> ")"
|
# name="$(echo -e "$(list_passwords 2>/dev/null)" | rofi -dmenu -mesg "Type name, make sure it is unique" -p "> ")"
|
||||||
val=$?
|
val=$?
|
||||||
if [[ $val -eq 1 ]]; then exit; fi
|
if [[ $val -eq 1 ]]; then exit; fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user