Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rashed145/polus-bash-theme
Modern lightweight Bash theme
https://github.com/rashed145/polus-bash-theme
bash bash-prompt theme
Last synced: 3 months ago
JSON representation
Modern lightweight Bash theme
- Host: GitHub
- URL: https://github.com/rashed145/polus-bash-theme
- Owner: rashed145
- License: mit
- Created: 2022-12-02T18:33:44.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-24T18:06:29.000Z (7 months ago)
- Last Synced: 2023-11-24T19:23:32.117Z (7 months ago)
- Topics: bash, bash-prompt, theme
- Language: Shell
- Homepage:
- Size: 1.19 MB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- cli-apps - Polus - A fast, lightweight and modern Bash prompt theme written in 100 lines of Bash code. (<a name="prompt"></a>Prompts)
- awesome-cli-apps - Polus - A fast, lightweight and modern Bash prompt theme written in 100 lines of Bash code. (<a name="prompt"></a>Prompts)
README
# polus-bash-theme
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.
# Installation
```
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
```
# Customization
Just edit the variables in the polus.bash-theme file according to your needs.
# Font to use
I recommend Hack Nerd Font for this theme.
You can use any other Nerd Font you like.
But Nerd Font is recommended.[Download Hack Nerd Font](https://github.com/ryanoasis/nerd-fonts/blob/v2.2.2/patched-fonts/Hack/Regular/complete/Hack%20Regular%20Nerd%20Font%20Complete.ttf?raw=true)
# Install Hack Nerd Font in termux
```
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
```
# Screenshots
![](screenshot.jpg)#
Facebook: [Rashedul Hasan Rafi](https://www.facebook.com/profile.php?id=100088194283934&mibextid=ZbWKwL)