fix password copy

This commit is contained in:
Rasmus Steinke 2016-08-17 17:25:57 +02:00
parent 058c817dec
commit ec6efa602d

View File

@ -353,12 +353,12 @@ typeMenu () {
copyMenu () { copyMenu () {
checkIfPass 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=$? val=$?
if [[ $val -eq 1 ]]; then if [[ $val -eq 1 ]]; then
exit; exit;
fi fi
if [[ $copyfield == "password" ]]; then if [[ $copyfield == "pass" ]]; then
copyPass; copyPass;
else else
copyField copyField