|
|
@ -30,7 +30,7 @@ newcontact() { |
|
|
|
name="$(echo | sxmo_dmenu_with_kb.sh -c -l 2 -p "$icon_usr Name")" |
|
|
|
name="$(echo | sxmo_dmenu_with_kb.sh -c -l 2 -p "$icon_usr Name")" |
|
|
|
number= |
|
|
|
number= |
|
|
|
while [ -z "$number" ]; do |
|
|
|
while [ -z "$number" ]; do |
|
|
|
number="$(sxmo_contacts.sh --unknown | sxmo_dmenu_with_kb.sh -c -l 10 -p "$icon_phl Number")" |
|
|
|
number="$(sxmo_contacts.sh --unknown | sxmo_dmenu_with_kb.sh -t -c -l 10 -p "$icon_phl Number")" |
|
|
|
number="$(valid_number "$number")" |
|
|
|
number="$(valid_number "$number")" |
|
|
|
done |
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
@ -66,7 +66,7 @@ editcontactnumber() { |
|
|
|
while [ -z "$PICKED" ]; do |
|
|
|
while [ -z "$PICKED" ]; do |
|
|
|
PICKED="$( |
|
|
|
PICKED="$( |
|
|
|
echo "$ENTRIES" | |
|
|
|
echo "$ENTRIES" | |
|
|
|
sxmo_dmenu_with_kb.sh -c -l 10 -p "$icon_edt Edit Contact" |
|
|
|
sxmo_dmenu_with_kb.sh -t -c -l 10 -p "$icon_edt Edit Contact" |
|
|
|
)" |
|
|
|
)" |
|
|
|
if echo "$PICKED" | grep -q "(Old number)$"; then |
|
|
|
if echo "$PICKED" | grep -q "(Old number)$"; then |
|
|
|
editcontact "$1" |
|
|
|
editcontact "$1" |
|
|
|