Open tathastu871 opened 1 year ago
Support for showing notification that starts an activity with the output has been added locally. Widget support will be thought on later.
eg i have curl/wget script. script is written such yhat everythimg is silenced only the progress bar is shown in stdout. want to run script in background via wifget and keep checkimg stdout for progress bar
Check: https://play.google.com/store/apps/details?id=com.binarysmith.webclipwidget.ad
make two widgets 1-> to run script 2-> to display live text using id of 2nd we send text to it and using activity manager execute scheduled refresh of 2nd widget so kind of live update is displayed
currently tasker+widget can be used to get such output display functionality
Feature description Using .tasks folder for executing termux widget scripts in background When script executed via widget, it should create coproc or >&3 file descriptors for logging both output and error seperately. On widget there will be two icons inline with script name one for output and one for error. After running script, when user clicks the output/error button/icon, a pop-up view of output and error either live or using tail command will be displayed.
The pop view has to be resizable
The output text to be displayed how nicely it should be formatted should depend on user and script. Widget app just displays whaterver the script/command is sending to /dev/stdout and error