biborg
Termux:Widget - How to create tasks for it?
hmmm that didn't work. i added #!/bin/bash to the top of the script and did a chmod +x test. i also created another echo.sh:
#!/bin/bash
echo "Testing"
and did a chmod +x echo.sh
and then refreshed the Widget app and ran echo.sh. I don't get any errors, and the tasks appear to run, except it switches me to the already running Termux session, and there is no output from these scripts in the console
15 replies
Termux:Widget - How to create tasks for it?
so i have just created a text file called ~/.shortcuts/test and the contents of test is:
python -c "print('hello')"
do i need to convert this into a bash script with a shebang? #!/bin/bash at the top? should i also chmod +x ~/.shortcuts/test ? if i want to see output from my command do i need to create a GUI using the Termux:GUI plugin?
15 replies