mirror of
https://github.com/jrpie/Launcher.git
synced 2025-06-08 02:11:24 +02:00
23 lines
909 B
Markdown
23 lines
909 B
Markdown
+++
|
|
title = 'Integration with Termux'
|
|
+++
|
|
|
|
# Termux
|
|
|
|
μLauncher has no special support for [Termux](https://termux.dev/).
|
|
However it is possible to run Termux commands from μLauncher by using [Termux:Widget](https://wiki.termux.com/wiki/Termux:Widget) to create a pinned shortcut and bind that to a gesture.
|
|
|
|
* Install Termux:Widget.
|
|
* Make sure that μLauncher is set as the default home screen.[^1]
|
|
* Put the script you want to run into `~/.shortcuts/`.
|
|
* Run `am start com.termux.widget/com.termux.widget.TermuxCreateShortcutActivity`. This will create a pinned shortcut which is treated like an app by μLauncher, i.e. open μLauncher's activity to create a shortcut.
|
|
|
|
<img src="./screenshot1.png"
|
|
alt="screenshot"
|
|
width="200" height="400">
|
|
<img src="./screenshot2.png"
|
|
alt="screenshot"
|
|
width="200" height="400">
|
|
|
|
|
|
[^1]: Only the default home screen can access shortcuts.
|