-
Notifications
You must be signed in to change notification settings - Fork 0
/
pongal.sh
89 lines (72 loc) · 2.63 KB
/
pongal.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/bin/bash
# -----------------------------------------------------------------------------
#
# Info:
# author: Santhosh Veer
# file: pongal.sh
# created: 13.01.2024
# revision: 13.01.2024
# version: 0.1
# -----------------------------------------------------------------------------
#
# Happy Pongal ASCII Text Art
# Code - https://raw.githubusercontent.com/mskian/happy-pongal-wishes/main/pongal.sh
# Pongal Greetings - https://pongal.tamilwords.net
#
# -----------------------------------------------------------------------------
## Progress Bar
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
## Pongal ASCII Text Art
echo -ne "
\n 🌾 \e[36m Pongal Greetings\e[0m 🌾
\\033[1;32m
@@
@@@@@@@@@@
@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@
/////////@@@@@@*********
*******@@@@@@,,,,,,,
******@@@@@@,,,,,,
/////////@@@@*********
,//////////////**************
.////////////////****************
////###//////////#/***********((****
/%/////////&&&/////*****%%%*********(
/&&&&//&&&&&/&&&&&/*%%%%%*%%%%%**%%%%#
///&&&&/////////&&%%********(%%%%***
*//////////##/////*****///*********
////////////////****************
//////////////**************
//////////**********
▒█░▒█ █▀▀█ █▀▀█ █▀▀█ █░░█
▒█▀▀█ █▄▄█ █░░█ █░░█ █▄▄█
▒█░▒█ ▀░░▀ █▀▀▀ █▀▀▀ ▄▄▄█
▒█▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █░░
▒█▄▄█ █░░█ █░░█ █░▀█ █▄▄█ █░░
▒█░░░ ▀▀▀▀ ▀░░▀ ▀▀▀▀ ▀░░▀ ▀▀▀
/\ 🍚
/ \
____/______\____
| |
* 🔥 *
* /\ *
|________________|
< Mattu Pongal Wishes >
---------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
\\033[0m"