mini-matrix

πŸ‘¨β€πŸ’» Output random 0 and 1 or custom characters with a matrix-like effect

View on GitHub

Mini matrix

πŸ‘¨β€πŸ’» Output random 0 and 1 or custom characters with a matrix-like effect

Installation

Arch 🐧

yay -S mini-matrix

Debian based distros 🐧

clone github repo

git clone https://github.com/SkwalExe/mini-matrix

run make

cd mini-matrix
make

Windows πŸͺŸ

Since this is a bash script, you normally can’t run it directly on windows.

You will have to install Git Bash and follow the instructions for Debian based distros.

Usage

Usage: mini-matrix [OPTION]

Autor : SkwalExe [LΓ©opold Ibghy Koprivnik]
Github : https://github.com/SkwalExe

Displays a matrix of random characters

Options:
  -h, --help    Show this help message and exit
  -v, --version Show version and exit
  -s, --speed   Set the delay between each line [default: 0.5]
  -l, --loop    Loop the output [default: false]
  -c, --chars   Set the number of characters to output [default: 10]
  -a, --custom-chars   Set the custom characters to use [default: "01"]

Example

mini-matrix -c 20 --custom-chars "abcdefghijklmnopqrstuvwxyz"

Example with polybar

[module/matrix]
type = custom/script
exec = mini-matrix -c 20 -s 0.07
tail = true

Used by

Docker 🐳

Run the latest version

docker run --rm -it ghcr.io/skwalexe/mini-matrix:main

Test your changes 🚧

Build πŸ› οΈ

# πŸ“‚ mini-matrix/
docker build -t mini-matrix .

Run πŸƒ

docker run --rm -it mini-matrix

bash-5.1# mini-matrix [OPTIONS]

final

If you have any probleme, don’t hesitate to open an issue

contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.