Skip to content

lwotcynna/myTermux

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

myTermux Banner

:octocat: Hi, thanks for spending your time visiting this repository!

I hope you understand my bad english. πŸ˜…

These are dotfiles or my personal Termux configuration. But I didn't make all of them (combined from several repositories).

Here are some details about my setup

  • Shell β€’ ZSH 🐚 with oh-my-zsh framework + plugins
  • Music β€’ MPD 🎡 with ncmpcpp text-mode client for MPD
  • File Manager β€’ lf πŸ”–
  • Text Editor β€’ Neovim πŸ“’ + plugins
  • System Information β€’ Neofetch βš™οΈ
  • Font β€’ MesloLGS Nerd Font 🍩
  • Icon β€’ Nerd Fonts πŸš€

Installation

Termux (Android)
  • $ pkg update && pkg upgrade
  • $ pkg install ncurses-utils bc git
  • $ git clone https://github.com/xshin404/myTermux
  • $ cd myTermux
  • $ cp .xshin.var $HOME # Setup global variable
  • $ chmod +x install.sh
  • $ ./install.sh [options] # You can see the options with './install.sh help'

Installation Help

See
Installation Help
Image

Default Termux Login

Termux Login
Termux Login
  • Username : xshin
  • Password : xshin

To change username password edit file ~/.scripts/login.sh. To remove Termux Login in autostart delete on ~/.zshrc bash ~/.scripts/login.sh

Colorscheme (Recommended)

See
Ayu Dark nekonako-djancoeg dracula owl4ce-dark
Image Image Image Image
owl4ce-light snazzy xshin
Image Image Image

Color Toys

See
colortest colortest-slim colorbars colorview
Image Image Image Image
bloks panes pipes1 pipes2 pipes2-slim
Image Image Image Image Image

User Configuration

lf
  • Colorscheme
Dark Theme Light Theme
Image Image

This like ncmpcpp if you change the colorscheme terminal then lf in the color section also changes

  • PATH Config File

To change lf configuration you can edit its config file in ~/.config/lf/lfrc and the icon variable i save on ~/.zshrc

Ncmpcpp

NOTE: Before you run ncmpcpp you need run MPD first with mpd. If you doesn't run mpd first ncmpcpp will connection refused

  • Help
Help
Ncmpcpp Help

To show help press F1

  • Browse Mode
MPD Database Local Filesystem
MPD Database Local Filesystem

To browse the music file press 2 and search your music path

NOTE: Press 1x to mode MPD Database. Press 2x to mode Local Filesystem.

  • User Interface
Classic Alternative
Classic Alternative

To change User Interface press \

  • Visualizer Mode
Wave Wave Filled Spectrum Ellipse
Wave Wave-Filled Spectrum Ellipse

To Change Visualizer Mode press <space>

  • Colorscheme

If you change the colorscheme in termux, like this

Change Color Scheme
Chcolor

then ncmpcpp in the color section aslo changes

Nekonako-Djancoeg Ayu Light xShin
Nekonako-Djancoeg Ayu-Light xShin
  • Clock
Clock
Ncmpcpp Clock

To use clock mode press = (equal) but you can't open if screen too small (you must zoom out the screen)

  • PATH Config File

ncmpcpp configuration PATH in ~/.config/ncmpcpp/config

Cava
  • Default Color
Cava Default Color
Cava Default Color
  • Foreground Color
Cava Foreground Color Cava Foreground Color Cava Foreground Color
Cava Foreground Color Cava Foreground Color Cava Foreground Color

To change foreground colors press f

  • Background Color
Cava Background Color Cava Background Color Cava Background Color
Cava Background Color Cava Background Color Cava Foreground Color

To change background colors press b

NOTE : Split Terminal i'm using Tmux press CTRL + B + "

Neofetch
Neofetch Random Small
Neofetch Random Small

NOTE for: myTermux-v.0.4.1 pre

This is because i create logic script to random neofetch distro logo small, if you do not want random change the alias on file ~/.zshrc neo="... --randomsmall ..."

Alias
Alias Neo
Neofetch Configuration Neofetch Script
Image Image
Neofetch Battery Charging Neofetch Battery Discharging Neofetch Storage
Image Image Image

To change Neofetch configuration you can edit its config file in ~/.config/neofetch/config.conf & ~/.config/neofetch/script.sh

Neovim
  • Colorscheme
Onedark Ayu Dark Gruvbox
Image Image Image
  • Plugin
Vim Plug CocList marketplace
Image Image
  • Keybindings
Keys Mode Action
C-s nmap, vmap, imap Save
C-q nmap, vmap, imap Quit
C-M-q nmap, vmap, imap Quit Without Saving
C-b nmap, vmap, imap Nerdtree
C-a nmap, vmap, cmap Home Text
C-e nmap, vmap, cmap End Text
C-C vmap Copy
C-V imap, cmap Paste
M-c nmap, vmap, cmap Set Termguicolors
C-M-c nmap, vmap, cmap Unset Termguicolors
M-z nmap, vmap, imap Wrap Text
C-M-z nmap, vmap, imap Unwrap Text
C-M-n nmap, vmap, imap Set Toggle Hybrid Line Number
C-M-b nmap, vmap, imap Unset off Hybrid Line Number

Troubleshooting

exa
  • "ls" unknown argument --icons

This error is because of an old version of exa that doesn't support --icons argument. To fix this please use exa ^v.0.9.0.

In my case, it is because of my old sources.list in $PREFIX/etc/apt/sources.list and it actually is packages' server or mirror. On the first pkg update, you should answer y when asked whether you wanna keep your current version or switch to the package maintainer's version. Please switch it to the maintainer's version.

If for any reason you cannot get the right version of exa, there is an alternative software which do merely the same as exa named lsd.

  • Run pkg install lsd to install. Then you need to modify ~/.zshrc where the alias ls="exa " exists and replace it to alias ls='lsd' and maybe also alias la='lsd -a'.
apt motd exa v.0.9.0
Image Image Image
Ncmpcpp
  • Music doesn't automatic detect

This error is because of the music PATH not directed to the right one. For example my music directory is in /sdcard/Music/ or ~/storage/music/. Please set it up to your own music folder.

PATH Music Ncmpcpp
Image
Neofetch
  • Battery & Storage icon not showing

If you want Battery icon showing you have to install Termux-API app from the same source as your installed Termux (whether from PlayStore or F-Droid). Though it is recommended for you to install Termux from F-Droid Don't forget to install termux-api package on Termux with pkg install termux-api.
For storage info you must set it to the right partition on your Android (e.g /storage/emulated).

NOTE: Please run df -h to know where your internal partition is located.

Termux-API Storage
Image Image

β™₯️ Credits / Big Thanks

About

Make your Termux look better

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vim Script 56.9%
  • Shell 42.2%
  • Perl 0.9%