I'm using YAD to create a "app store" with a GUI and I can't find any tutorial on how to execute a command when I select an option from a list and click on the 'ok' button ('ok' will be replaced with 'install'). I want to use shell script only.
This is the script I wrote. It's a simple list with 2 columns and 2 items in them. The windows icon is just a test.
yad --list --center --width=800 --height=600
--title "apps4pi" \
--column "app name" --column "description" \
SimpleScreenRecorder " powerful feature packed yet simple and easy to use screen recorder" \
System-Tools "system maintenance commands all done for you"