From ec6efa602d7df3a57233639d15623b946f46ad99 Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Wed, 17 Aug 2016 17:25:57 +0200 Subject: [PATCH] fix password copy --- rofi-pass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rofi-pass b/rofi-pass index bd7666b..a8eb7aa 100755 --- a/rofi-pass +++ b/rofi-pass @@ -353,12 +353,12 @@ typeMenu () { copyMenu () { checkIfPass - copyfield=$(printf '%s\n' "${!stuff[@]}" | sort | _rofi -kb-accept-entry '!Return' -dmenu -p "Choose Field to type > ") + copyfield=$(printf '%s\n' "${!stuff[@]}" | sort | _rofi -kb-accept-entry '!Return' -dmenu -p "Choose Field to copy > ") val=$? if [[ $val -eq 1 ]]; then exit; fi - if [[ $copyfield == "password" ]]; then + if [[ $copyfield == "pass" ]]; then copyPass; else copyField