https://github.com/dkramer95/termux-action
https://github.com/dkramer95/termux-action
android bash termux termux-api
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/dkramer95/termux-action
- Owner: dkramer95
- Created: 2018-06-25T00:03:06.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-26T19:28:38.000Z (almost 8 years ago)
- Last Synced: 2025-10-11T00:43:19.670Z (8 months ago)
- Topics: android, bash, termux, termux-api
- Language: Shell
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# termux-action
Launch and execute scripts faster through a shortcut selection interface using the new input methods in the
[Termux:API](https://github.com/termux/termux-api) addon
## Prerequisites
`termux-api`
## Installation
`git clone https://github.com/dkramer95/termux-action`
Run `install` which will install the scripts and needed dependencies
## Usage
For [Termux:Boot](https://github.com/termux/termux-boot) users, a persistent notification will be created automatically and show on boot (*recommended*). To manually show notification, type `termux-action-notification`. This notification provides an entry point to the `termux-action-chooser` interface. The notification will remain in place unless you click the explicit 'close' button.
`termux-action-chooser` displays a scrollable list of all executable scripts that exist in `~/.termux-actions` and can be launched with a single click. The complete filename of the scripts in this directory are what will be displayed in the list.
Termux needs a script file to execute. Add your desired command(s) inside a script file and place them in `~/.termux-actions`. For scripts that require a foreground Termux session (i.e. vim), you need to use `termux-action-launch [script]` and add an additional corresponding script in `~/.termux-actions/launch` that contains just the command.
## Screenshots