forked from bitshiftcrazy/holiday-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
christmas_tree.sh
36 lines (34 loc) · 3.13 KB
/
christmas_tree.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
#!/bin/bash
#
# ANSI color scheme script by pfh
#
# Initializing mod by lolilolicon from Archlinux
#
f=3 b=4
for j in f b; do
for i in {0..7}; do
printf -v $j$i %b "\e[${!j}${i}m"
done
done
bld=$'\e[1m'
rst=$'\e[0m'
cat << EOF
$f3 ▄█▄ $f1 ▄█▄ $f2 ▄█▄ $f4 ▄█▄ $f5 ▄█▄
$f3 ▄█████▄ $f1 ▄█████▄ $f2 ▄█████▄ $f4 ▄█████▄ $f5 ▄█████▄
$f3 ▄█████▄ $f1 ▄█████▄ $f2 ▄█████▄ $f4 ▄█████▄ $f5 ▄█████▄
$f3 ▄█████████▄ $f1 ▄█████████▄ $f2 ▄█████████▄ $f4 ▄█████████▄ $f5 ▄█████████▄
$f3 ▄███████▄ $f1 ▄███████▄ $f2 ▄███████▄ $f4 ▄███████▄ $f5 ▄███████▄
$f3 ▄███████████▄ $f1 ▄███████████▄ $f2 ▄███████████▄ $f4 ▄███████████▄ $f5 ▄███████████▄
$f3 ▀▀▀▀▀█████▀▀▀▀▀ $f1 ▀▀▀▀▀█████▀▀▀▀▀ $f2 ▀▀▀▀▀█████▀▀▀▀▀ $f4 ▀▀▀▀▀█████▀▀▀▀▀ $f5 ▀▀▀▀▀█████▀▀▀▀▀
$f3 ▀▀▀▀▀ $f1 ▀▀▀▀▀ $f2 ▀▀▀▀▀ $f4 ▀▀▀▀▀ $f5 ▀▀▀▀▀
$bld
$f3 ▄█▄ $f1 ▄█▄ $f2 ▄█▄ $f4 ▄█▄ $f5 ▄█▄
$f3 ▄█████▄ $f1 ▄█████▄ $f2 ▄█████▄ $f4 ▄█████▄ $f5 ▄█████▄
$f3 ▄█████▄ $f1 ▄█████▄ $f2 ▄█████▄ $f4 ▄█████▄ $f5 ▄█████▄
$f3 ▄█████████▄ $f1 ▄█████████▄ $f2 ▄█████████▄ $f4 ▄█████████▄ $f5 ▄█████████▄
$f3 ▄███████▄ $f1 ▄███████▄ $f2 ▄███████▄ $f4 ▄███████▄ $f5 ▄███████▄
$f3 ▄███████████▄ $f1 ▄███████████▄ $f2 ▄███████████▄ $f4 ▄███████████▄ $f5 ▄███████████▄
$f3 ▀▀▀▀▀█████▀▀▀▀▀ $f1 ▀▀▀▀▀█████▀▀▀▀▀ $f2 ▀▀▀▀▀█████▀▀▀▀▀ $f4 ▀▀▀▀▀█████▀▀▀▀▀ $f5 ▀▀▀▀▀█████▀▀▀▀▀
$f3 ▀▀▀▀▀ $f1 ▀▀▀▀▀ $f2 ▀▀▀▀▀ $f4 ▀▀▀▀▀ $f5 ▀▀▀▀▀
$rst
EOF