diff --git a/scripts/core/sxmo_contactmenu.sh b/scripts/core/sxmo_contactmenu.sh index b4ab0ed..d2d918d 100755 --- a/scripts/core/sxmo_contactmenu.sh +++ b/scripts/core/sxmo_contactmenu.sh @@ -16,6 +16,13 @@ valid_number() { fi notify-send "\"$1\" is not a valid phone number" + + PICKED="$(printf "Ok\nUse as it is\n" | dmenu -c -l 2 -p "Invalid Number")" + if [ "$PICKED" = "Use as it is" ]; then + echo "$1" + return + fi + exit }