Polus is a fast and modern bash theme. It is very lightweight and completely written in bash without additional dependencies. It has less than 100 lines of code.
sed -i '\,\. ~/.config/bash/themes/polus.bash-theme,d' ~/.bashrc
curl -fsSL https://raw.githubusercontent.com/rashed145/polus-bash-theme/master/polus.bash-theme -o ~/.config/bash/themes/polus.bash-theme --create-dirs
echo "[ -r ~/.config/bash/themes/polus.bash-theme ] && . ~/.config/bash/themes/polus.bash-theme"| tee -a ~/.bashrc
Just edit the variables in the polus.bash-theme file according to your needs. You can customize the time format using PTMFMT variable. Available options:
\t the current time in 24-hour HH:MM:SS format
\T the current time in 12-hour HH:MM:SS format
\@ the current time in 12-hour am/pm format
\A the current time in 24-hour HH:MM format
I recommend Hack Nerd Font for this theme. You can use any other Nerd Font you like. But Nerd Font is recommended.
curl -L https://github.com/ryanoasis/nerd-fonts/blob/v2.2.2/patched-fonts/Hack/Regular/complete/Hack%20Regular%20Nerd%20Font%20Complete.ttf?raw=true -o ~/.termux/.fonts/Hack.ttf --create-dirs
ln -sf ~/.termux/{.fonts/Hack.ttf,font.ttf}
termux-reload-settings
Facebook: Rashedul Hasan Rafi