Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.34 KB

README.md

File metadata and controls

48 lines (31 loc) · 1.34 KB

Progress and Loading Bash

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.

Features

  • Customizable progress bars with percentage indicators
  • Loading animations with a rotating icon
  • Color-coded output for easy readability

Usage

  • 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

Customization

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 and c_clear to change the colors
  • bar_symbols array to change the progress bar symbols
  • loading and loading_alt arrays to change the loading animation symbols
  • Feel free to contribute and make improvements to this script. Pull requests and suggestions are welcome!

License

This project is licensed under the MIT License. See the LICENSE file for details.