This repository contains a simple Bash script to display progress bars and loading animations in the terminal. The script is designed to be easy to understand and integrate into your own projects.
- Customizable progress bars with percentage indicators
- Loading animations with a rotating icon
- Color-coded output for easy readability
-
Clone the repository:
git clone https://github.com/yourusername/progress-and-loading-bash.git
-
Navigate to the repository folder:
cd progress-and-loading-bash
-
Give the script execution permissions:
chmod +x progress_and_loading.sh
-
Run the script:
./progress_and_loading.sh
You can easily customize the script to fit your needs by modifying the colors and symbols used for the progress bars and loading animations. Look for the following variables in the progress_and_loading.sh
script:
c_green
andc_clear
to change the colorsbar_symbols
array to change the progress bar symbolsloading
andloading_alt
arrays to change the loading animation symbols- Feel free to contribute and make improvements to this script. Pull requests and suggestions are welcome!
This project is licensed under the MIT License. See the LICENSE file for details.