I made a sh file for being executed in termux, i want to make an icon that opens termux and execute that sh file. Kind an apk icon, that when you mash it executes the program
-
See this discussion for possible ways: github.com/termux/termux-app/issues/1730– RobertCommented May 4, 2021 at 16:48
-
Termux Widget– Irfan LatifCommented May 4, 2021 at 20:36
-
Use the termux widget add-on is not viable, because my program is interactive.– LucasyataCommented May 5, 2021 at 0:21
-
Using Termux Widget you can create an icon in home/launcher app. Tapping that would execute the command you specified while creating the widget icon. What else are you asking for?– Irfan LatifCommented May 5, 2021 at 23:57
Add a comment
|
1 Answer
Use the termux::tasker plugin in tasker or use the native termux task from the tasker function.
-
Thanks for sharing the idea. Would you mind to add details for those not familiar with the two mentioned options? What would one need to do to achieve the goal with them?– IzzyCommented Feb 14, 2022 at 0:23