To obtain termux widget, you Simply need to click on at the obtain button under and the APK can be downloaded to your telephone,
Simply set up that APK and should you see a a hit set up, then you’re executed with the obtain phase.
2d Means:
If the above downloaded APK isn’t operating or it’s appearing “app no longer put in error” then you’ll be able to simply move to the
F-Droid Termux widget page and check out to obtain the newest model to be had.
Find out how to Use Termux Widget?
Prior to following the under steps, remember to have put in the termux widget plugin to your telephone the use of the above way.
Step 1:
Open termux app and kind the under command to create a hidden folder identify shortcuts, this would be the folder that can include the entire shortcut bash information that we can run the use of the termux widget.
cd && mkdir .shortcut
This straightforward command will create a hidden folder in the house listing of termux.
Step 2:
Now, to look if the .shortcuts listing is provide or no longer, it’s important to kind ls -a command. On this step, you simply need to kind the under command to get within the .shortcuts listing.
cd .shortcuts
Now you are going to be within the .shortcuts listing, you’ll be able to kind pwd to test your trail.
Step 3:
This can be a complicated phase the place we can create a .bash record on this .shortcut folder. Sort under command to install nano to your termux.
pkg set up nano
If you’re dealing with repository is beneath upkeep or down error, then learn this publish for a fast repair. Termux Repository Under Maintenance Issue SOLVED โ
Step 4 (Create a Bash Script):
For this step you will have to be within the .shortcuts folder, in case you have adopted the above instructions then you are going to be on the proper trail.
Right here you’ll be able to create any
shortcut script you wish to have, and it is possible for you to to run it with a shortcut from your own home display screen, for the educational I’m gonna write a script to test reminiscence utilization in my telephone.
Sort under command and press input to create a textual content record identify MemoryCheck.bash
nano MemoryCheck.bash
After coming into this command you are going to see nano textual content editor, simply kind the under line the textual content editor
unfastened -h -t ; learn b
and press CTRL+X after which Y to save lots of the record.
Step 5:
The scripting phase is finished, and now we simply need to do a last item, Pass to your own home display screen and upload termux widget, since each logo of telephone have little other way for including widget I will’t display all of them. Simply move to the widget choice of your telephone and within the ultimate you are going to to find termux widget, simply upload it for your display screen.
After including it on your display screen you are going to see MemoryCheck.bash indexed at the widget, if no longer simply refresh the widget the use of the refresh button on it and now faucet at the MemoryCheck.bash record to test your reminiscence utilization.