fix password copy
This commit is contained in:
parent
058c817dec
commit
ec6efa602d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user