Created
April 30, 2024 13:26
-
-
Save mskian/149a98c663f806bb9126c5e7480e566b to your computer and use it in GitHub Desktop.
May day ASCII Text Art in Linux Terminal and Terminal Emulator 🍵 ⬇ - International Workers' Day
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ----------------------------------------------------------------------------- | |
# | |
# Info: | |
# author: Santhosh Veer | |
# file: may.sh | |
# created: 30.04.2024 | |
# revision: 30.04.2024 | |
# version: 0.1 | |
# ----------------------------------------------------------------------------- | |
# | |
# May Day ASCII Text Art | |
# | |
# ----------------------------------------------------------------------------- | |
progress_bar() { | |
local total_steps=50 | |
local width=30 | |
for ((i=0; i<=${total_steps}; i++)); do | |
percentage=$((i * 100 / total_steps)) | |
progress=$((i * width / total_steps)) | |
printf "\r[%-${width}s] %d%%" $(printf "#%.0s" $(seq 1 ${progress})) ${percentage} | |
sleep 0.1 | |
done | |
echo -ne "\r\033[2K" | |
} | |
progress_bar | |
echo -ne " | |
\n 🛠 \e[36m International Workers' Day\e[0m 🛠 | |
\\033[1;32m | |
@+. .:::. | |
@%%%%#+-:...:=*%%%###%%%#+-:.. | |
@#++++*##%%%##*++++++++++*##%@ | |
@#++++++++++*@%%@*++++++++++#@. | |
@#++++++++#%@@**@@%#++++++++#@. | |
@#++++++%@+-=@**@+:+@%++++++#@. | |
@#+++++%@-::=@**@+:::%%+++++#@. | |
@#+++*%@%***#@%%@%***%@%*+++#@. | |
@#++++******************++++#@. | |
@@%%%#*+++++++*#%%%##%%%#*++#@. | |
@+ .-+#%%%%%*+: .-+#%%% | |
@+ | |
@+ | |
@+ | |
@+ | |
@+ | |
@+ | |
@+ | |
@+ | |
@= | |
::::. | |
=+***+ | |
--. .:******-. .--. | |
-+++++++***********++****=. | |
=+++++****+++++**********+ | |
=++***+========++******+ | |
:+***+===:. .-+++*****: | |
.::-+***+==- =++*****-::. | |
++******+== *******###* | |
+*******+== *****#####* | |
::-+****=+= +***###*=-:. | |
:*****+++-. .-****####- | |
+******+++********#####+ | |
+***************#########+ | |
=*****+*******#####*#####+. | |
.=-. :-**####-: :==. | |
+####+ | |
.----. | |
+-+-+-+ +-+-+-+ | |
|M|a|y| |D|a|y| | |
+-+-+-+ +-+-+-+ | |
\\033[0m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment