Skip to content

tharindu899/Tmx-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

56 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎨 Termux Theme

Version License Platform

tmx5

✨ Features

  • Dual theme options (πŸ–€ Black / 🎨 Color)
  • Interactive TUI installer with live log & animated progress bars
  • Network check before installation begins
  • Powerlevel10k Zsh prompt
  • Custom Nerd Fonts
  • Pre-configured Neovim / AstroNvim IDE
  • Oh My Zsh + curated plugin set
  • One-click uninstall
  • Automatic dependency resolver
  • Failed-task error log at ~/skip_errors.log

πŸ“‚ Directory Structure

~/Tmx-theme/
  β”œβ”€β”€ πŸ“œ install.sh              # Main installation script (v4.0)
  β”œβ”€β”€ πŸ“ src/                    # Needed assets & configs
  β”‚   β”œβ”€β”€ 🎨 font.ttf            # Nerd Font for icons
  β”‚   β”œβ”€β”€ βš™οΈ  termux.properties  # Termux settings/config
  β”‚   β”œβ”€β”€ πŸ–ŒοΈ  colors.properties  # Color scheme definitions
  β”‚   β”œβ”€β”€ 🐧 .zshrc              # ZSH configuration file
  β”‚   β”œβ”€β”€ πŸ–ΌοΈ  .banner.sh         # Custom login banner script
  β”‚   β”œβ”€β”€ 🎭 .draw               # ASCII art database
  β”‚   β”œβ”€β”€ ✏️  .draw.sh           # Drawing script
  β”‚   β”œβ”€β”€ πŸ“œ zshrc               # System-wide ZSH config
  β”‚   └── πŸ–‹οΈ  ASCII-Shadow.flf   # Custom figlet font
  β”œβ”€β”€ πŸ“ black/                  # Dark theme package
  β”‚   └── ⚑ .p10k.zsh           # Powerlevel10k classic theme
  └── πŸ“ color/                  # Colorful theme package
       └── ⚑ .p10k.zsh          # Powerlevel10k rainbow theme

πŸ“₯ Installation

βš™οΈ Step 1 β€” Prerequisites (run this first on a fresh Termux)

The installer uses tput for its TUI from the very first line, so you need a small set of packages before cloning the repo. Run this once on a brand-new Termux:

pkg update -y && pkg install git bash ncurses-utils -y
Package Why it's needed
git Clone the repo
bash Run install.sh
ncurses-utils Provides tput β€” required for the TUI installer UI

Everything else (Zsh, Neovim, Oh My Zsh, plugins, fonts…) is installed automatically by the script.


πŸš€ Step 2 β€” Clone & Run

git clone https://github.com/tharindu899/Tmx-theme.git ~/Tmx-theme && \
cd ~/Tmx-theme && \
chmod +x install.sh && \
bash install.sh

πŸ–₯️ Installer Menu

When you run install.sh a full-screen TUI appears with four options:

Option Action
1 Install Black Theme (classic dark prompt)
2 Install Color Theme (rainbow powerline prompt)
3 Uninstall β€” removes all theme files
4 Exit

The installer checks your internet connection first, then runs all steps with a live scrolling log and real-time progress bars.


πŸ–ΌοΈ Theme Previews

Color Theme Black Theme

πŸ“‹ File Locations

Config File Destination
src/font.ttf ~/.termux/font.ttf
src/.zshrc ~/.zshrc
src/termux.properties ~/.termux/termux.properties
src/colors.properties ~/.termux/colors.properties
src/.banner.sh ~/.banner.sh
src/.draw / src/.draw.sh ~/.draw / ~/.draw.sh
src/ASCII-Shadow.flf $PREFIX/share/figlet/
src/zshrc $PREFIX/etc/zshrc
{black,color}/.p10k.zsh ~/.p10k.zsh

πŸ› οΈ Installed Tools

Category Tools
Core Zsh, Git, Python, wget, curl
CLI Tools lsd, logo-ls, bat, ripgrep, fd, fzf, figlet, lolcat, ncurses-utils
Development Neovim, Lua, lua-language-server, lazygit, luarocks, stylua
Build & Extras build-essential, clang, zig, ccls, rust-analyzer, yarn, jq-lsp
Shell Oh My Zsh, Powerlevel10k, zsh-syntax-highlighting, zsh-autosuggestions
Utilities termux-api, gdu, gdb, gh (GitHub CLI), zip
Neovim neovim pip/npm/gem providers, AstroNvim (tharindu899/tmx-nvim)

πŸ”Œ Oh My Zsh Plugins

copypath Β· dircycle Β· extract Β· frontend-search Β· git Β· git-auto-fetch Β· git-flow-completion Β· gitfast Β· git-prompt Β· ionic Β· pre-commit Β· safe-paste Β· web-search Β· zsh-completions Β· zsh-history-substring-search Β· zsh-syntax-highlighting Β· zsh-autosuggestions


❓ FAQ

Q: How do I switch themes?

bash ~/Tmx-theme/install.sh   # choose 1 or 2 from the menu

Q: Where are configs stored?

~/.termux/
~/.zshrc
~/.p10k.zsh
~/.config/nvim/

Q: Something failed β€” where is the error log?

Failed tasks are recorded to ~/skip_errors.log with timestamps. You can view it with:

cat ~/skip_errors.log

Q: How do I start the new shell after install?

zsh

The installer also sets Zsh as your default shell automatically via chsh.


πŸ—‘οΈ Uninstall

# From the installer menu
bash ~/Tmx-theme/install.sh   # choose option 3

# Manual removal
rm -rf ~/.termux ~/.zsh* ~/.oh-my-zsh ~/.config/nvim ~/.banner.sh ~/.draw ~/.draw.sh ~/.p10k.zsh
termux-reload-settings

πŸ“Œ Important Notes

  1. Allow Termux storage permissions before installing
  2. Restart Termux after installation completes
  3. First launch may take 2–3 minutes (plugin compilation)
  4. Installation requires an active internet connection

✨ Pro Tip: Press Ctrl + T to open a new Termux session instantly!

πŸ’» Crafted with ❀️ by Tharindu899

πŸ”— Credits: Inspired by the amazing work of remo7777 ⭐

πŸ“¬ Need Help? Reach out: tprabath81@gmail.com

About

Powerlevel10k Zsh prompt ⚑ Astronvim IDE configuration πŸ–₯️ -Custom Nerd Fonts integration 🎨 Animated ASCII login banner 🎭

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages