How to Change the Appearance of Termux Like a Computer

The following way to change the appearance of termux will turn themes, fonts, logos and other elements into a more beautiful (pro-looking) look.

There are no other advantages, other than just to spoil the eyes when using termux. But as termuxers you must try.

What can be changed include:

  • Remove the welcome text
  • Adding a logo (cowsay)
  • Change the letter $ to a specific word
  • termux theme
  • Fonts, etc

Curious? Let’s change now!!

Here’s how to beautify the appearance of termux

1. Remove the word welcome to termux

If the English language is welcome to termux. This is just a welcome greeting and displays information about this application.

There’s no benefit, so just delete it so it’s more pleasing to the eye.

The method:

Open the termux app then type touch .hushlogin then press enter.

To check if it’s gone? Please swipe the screen from left to right then select new season. If the screen is blank/clean, it means it worked.

Now just add a logo, to beautify its appearance.

2. Adding a logo (cowsay)

The termux logo or commonly called cowsay is a collection of ascii codes that form certain images, text or symbols.

Actually cowsay already exists. And so that it appears at the beginning of the termux display, you must change the bash.bashrc file.

How to type:

cd ../usr/etc
nano bash.bashrc

Add the following code at the bottom.

# Cowsay text

Cowsay text
clear
figlet "omcyber" | lolcat

Replace omcyber with the text of your choice.

# Cowsay logo

Cowsay logo
clear
cowsay -f eyes omcyber | lolcat

eyes: cowsay code (you can see the code here)
omcyber: word of choice (just change it up)

When finished press ctrl + x then y and enter to save.

We can also change the cowsay file, then replace it with a homemade cowsay.
Also read: How to make your own cowsay

3. Replacing $ into the word of choice

$ (dollar logo) is a terminal prompt icon which indicates that you do not have root access. When writing a command, there must be a $ character next to it. Well, here we will change the character with their respective words.

How to change it:

Type cd ../usr/etc then nano bash.bashrc

Look for the word PS1=’$ ‘ then replace $ with the word you want to display.

Example: PS1=’Omcyber-root# ‘

Then type the command save (ctrl + xy enter)

Changing the $termux ikon icon

4. Change the termux theme along with the font and background (ohmyzsh)

This fourth method will run a script called oh-my-zsh. Pay attention to how to install and run it so there is no error.

First install pkg git and bash (if you don’t have to)

pkg install git
pkg install bash

Then install oh-my-zsh with the following command:

git clone https://github.com/cabbagec/termux-ohmyzsh

Open the ohmyzsh folder then run it. Use this command:

cd termux-ohmyzsh
sh install.sh

When the script runs, press the number according to the theme you like and then enter. And see the results, the theme and font will immediately change.

Termux ohmyzsh Tema themes and fonts

If it doesn’t match the look after changing it, you can change it again by running ohmyzsh again and choosing a different theme.

5. Bonus

To display the date at the beginning of the termux display, you can change the file bash.bashrc then add kode date | lolcat at the end.

While adding color to the text, you can add a color code in front of the text.

termux color code:

black='e[0;30m'
blue="e[0;34m"
green='e[0;32m'
cyan='e[0;36m'
red='e[0;31m'
purple="e[0;35m"
brown='e[0;33m'
lightgray='e[0;37m'
darkgray='e[1;30m'
lightblue="e[1;34m"
lightgreen='e[1;32m'
lightcyan='e[1;36m'
lightred='e[1;31m'
lightpurple="e[1;35m"
yellow='e[1;33m'
white="e[1;37m"
nc="e[0m"

How to use:

kode warna+kata 

Example e[1;33mOmcyber(YellowOmcybertext)[1;33mOmcyber(TulisanOmcyberberwarnakuning)

OK, now we’ve made a cool Termux look like a programmer’s tool. So it’s even more exciting to learn.

You can apply just one of the ways to beautify the appearance above. Or everything can also depend on taste.

If this tutorial is useful, please help share it!!

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *