aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2016-05-24 23:57:22 +0200
committerRasmus Steinke <rasi@xssn.at>2016-05-24 23:57:22 +0200
commitcd71ca3b7ef2b9dc04e94f21d425908baa52938c (patch)
tree2b8573fb774dd3f115604e7774790cb28278efd2
parent1b6b4a76ef19d0bb505991a1b48383bac6ed210e (diff)
downloadrofi-pass-cd71ca3b7ef2b9dc04e94f21d425908baa52938c.tar.gz
only use actually typed input
-rwxr-xr-xrofi-pass2
1 files changed, 1 insertions, 1 deletions
diff --git a/rofi-pass b/rofi-pass
index 80eea3d..a168402 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -390,7 +390,7 @@ listgpg () {
insertPass () {
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 "> ")"
val=$?
if [[ $val -eq 1 ]]; then exit; fi