Closed ghost closed 1 year ago
When you pick a choice (selected is modified), you could call a script that displays a menu for example.
thats what im trying to do, i just dont know how to since im not sure how the choices work in themselves. could you maybe give an example? thank you.
case $ret in
$'0')
# 0 was picked
command menu0.sh
;;
$'1')
# 1 was picked
command menu1.sh
;;
*)
# do nothing
;;
esac
thank you so much! will use this
im not a big bash scripter, i barely know anything, yet id still like to know how to actually do anything with the choice you can pick in the choices example. ive changed it a little like you see here now:
i dont understand the update function but i can figure the rest, i just want to know how i can, for example, make a new menu popup when i pick one of the choices?