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.