Skip to content

A cli app for termux to open user android apps with Termuxlauncher backend as your main launcher

License

Notifications You must be signed in to change notification settings

luisadha/drawercli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maintained-Yes Fetch-license Total-downloads Stargazer Fork-totals Watcher-totals

App Drawer for Termux

Find drawercli on alrc-termux plugin

Description

A cli app for termux to open user android apps with Termuxlauncher backend as your main launcher, installation of termuxlauncher apps is necessary for the script to work. Follow the installation instructions

Features

  • Interactive by scrolling the screen to select apps and typing to find favorite apps (this parts has been improved on new update).

  • Updated app list in Termuxlauncher.

  • Display frequently opened apps.

  • Makes app suggestions to open with a specified number.

  • Calculate total user applications

  • Support touchscreen

  • Can be installed in ~/.shortcuts to run via Termux:widget

  • Can be installed on ztmexluis or luis-toolbox.sh

Note

Without Termuxlauncher & Termux this tool won't work.

Dependencies

A. Download and install these apk's

B. Install packages

  • input keyevent (is in /system/bin make sure it is part of the $PATH variable) (Optional)
  • git, curl, fzf, coreutils, sed, grep and which.
  • termux-setup-storage

Install with Bash Package Manager (bpkg)

bpkg install -g luisadha/drawercli
  • Install with Make
make install
  • Install with Nix-build
nix-build
nix-env -i ./result

Uninstall

  • general (i.e.: termux)
rm -f ${PREFIX}/bin/drawercli
  • nix-on-droid
nix-env -e drawercli
nix-env --rollback
  • gnumake
make uninstall

Optional Config

Try our custom configurations, Termux config is stored in ~/.termux/termux.properties

extra-keys-style = none
extra-keys = [[{key: "drawercli \n", popup: KEYBOARD, display: drawercli}]]

Usage

drawercli -S 4 | -u

 Command-line-based app drawer to display a list of all user-installed apps on the device and many other features.

drawercli requires the termuxlauncher to be installed and used at least once to use this tool.

Available options:

-S NUMBER                To display app recommendations to open, recommendations will be displayed according to the given number.
-c, --clear-history      To clear the history of opened app activities.
-r                       To refresh the list of apps, newly installed apps will be displayed after the refresh.
-s, --skip               Does nothing, literally opens Termux itself.
-u                       To display the most frequently used apps.
-w, --see-wallpaper      To view the wallpaper or open the current-wallpaper app.
-h, --help               To display this help message.

Tested

Platform Status
Termux
Nix-on-droid
Acode Terminal Plugin

Issue

  1. Fix shebang on nix
sed -i '1s|#!/data/data/com.termux.nix/files/usr/bin/bash|#!/data/data/com.termux.nix/files/home/.nix-profile/bin/bash|' $(command -v drawercli)
  1. Issues related to nix-on-droid, Try clearing this duplicate package garbage fix
nix-collect-garbage

Author

@luisadha

Contributor

@zaedstudioshpkentang

💰 Support my work by Donating

BuyMeACoffee PayPal

Thanks

  • github.com/amsitlab/termuxlauncher
  • junegunn.github.io/fzf
  • github.com/bpkg/bpkg