-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfigure.theme
More file actions
executable file
·107 lines (90 loc) · 5.2 KB
/
configure.theme
File metadata and controls
executable file
·107 lines (90 loc) · 5.2 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#!/usr/bin/bash
#..............................................................
THEME='default'
#..............................................................
## Colors
# foreground
Fgreen=$'\e[0;1;38;2;0;230;118m' Fblue=$'\e[0;1;38;2;40;90;255m' Fsky=$'\e[0;1;38;2;0;255;255m'
Fpurple=$'\e[0;1;38;2;101;31;255m' Fyellow=$'\e[0;1;38;2;200;255;0m' Fred=$'\e[0;1;38;2;200;0;0m' Bcyan=$'\e[0;1;38;5;49m'
# background
Bgreen=$'\e[0;1;48;2;0;230;118m' Bblue=$'\e[0;1;48;2;40;90;255m' Bsky=$'\e[0;1;30;48;2;0;255;255m'
Bpurple=$'\e[0;1;48;2;101;31;255m' Byellow=$'\e[0;1;30;48;2;200;255;0m' Bred=$'\e[0;1;48;2;200;0;0m' Bcyan=$'\e[0;1;30;48;5;49m' Bwhite=$'\e[0;1;7m'
# night background
NBgreen=$'\e[0;1;90;7;48;2;0;230;118m' NBblue=$'\e[0;1;90;7;48;2;0;150;255m' NBsky=$'\e[0;1;90;7;30;48;2;0;255;255m' NBpurple=$'\e[0;1;90;7;48;2;200;50;255m' NByellow=$'\e[0;1;90;7;30;48;2;200;255;0m' NBred=$'\e[0;1;90;7;48;2;255;0;0m' NBcyan=$'\e[0;1;;90;7;30;48;5;46m' NBwhite=$'\e[0;1;100m'
PUT(){ echo -en "\033[${1};${2}H";}
HIDE(){ echo -en "\033[?25l";}
NORM(){ echo -en "\033[?12l\033[?25h";}
SL() {
sleep 0.01
}
## Specify time
day=`date +%H`
night=`date +%H`
night() {
clear
echo -e "
\e[0;1m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
\e[0;1m┃${NBwhite} ┏━╸┏━┓┏┓╻┏━╸╻┏━╸╻ ╻┏━┓┏━╸ \e[0;1m┃
\e[0;1m┃${NBwhite} ┃ ┃ ┃┃┗┫┣╸ ┃┃╺┓┃ ┃┣┳┛┣╸ \e[0;1m┃
\e[0;1m┃${NBwhite} ┗━╸┗━┛╹ ╹╹ ╹┗━┛┗━┛╹┗╸┗━╸ \e[0;1m┃
\e[0;1m┃${NBred} ╺┳╸╻ ╻┏━╸┏┳┓┏━╸ ${NBblue} ┏━╸┏┓╻┏━╸╻┏┓╻┏━╸ \e[0;1m┃
\e[0;1m┃${NBred} ┃ ┣━┫┣╸ ┃┃┃┣╸ \e[0;100m╺━╸${NBblue} ┣╸ ┃┗┫┃╺┓┃┃┗┫┣╸ \e[0;1m┃
\e[0;1m┃${NBred} ╹ ╹ ╹┗━╸╹ ╹┗━╸ ${NBblue} ┗━╸╹ ╹┗━┛╹╹ ╹┗━╸ \e[0;1m┃
\e[0;1m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
\e[0m"
echo -ne "\033]12;#b4e1fd\007"
}
light() {
clear
echo -e "
\e[0;1m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
\e[0;1m┃${Bwhite} ┏━╸┏━┓┏┓╻┏━╸╻┏━╸╻ ╻┏━┓┏━╸ \e[0;1m┃
\e[0;1m┃${Bwhite} ┃ ┃ ┃┃┗┫┣╸ ┃┃╺┓┃ ┃┣┳┛┣╸ \e[0;1m┃
\e[0;1m┃${Bwhite} ┗━╸┗━┛╹ ╹╹ ╹┗━┛┗━┛╹┗╸┗━╸ \e[0;1m┃
\e[0;1m┃${Bred} ╺┳╸╻ ╻┏━╸┏┳┓┏━╸ ${Bblue} ┏━╸┏┓╻┏━╸╻┏┓╻┏━╸ \e[0;1m┃
\e[0;1m┃${Bred} ┃ ┣━┫┣╸ ┃┃┃┣╸ ╺━╸${Bblue} ┣╸ ┃┗┫┃╺┓┃┃┗┫┣╸ \e[0;1m┃
\e[0;1m┃${Bred} ╹ ╹ ╹┗━╸╹ ╹┗━╸ ${Bblue} ┗━╸╹ ╹┗━┛╹╹ ╹┗━╸ \e[0;1m┃
\e[0;1m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
\e[0m"
HIDE
PUT 10 1
printf "\e[0;1m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓"
PUT 11 1
printf "\e[0;1m┃ ┃"
PUT 12 1
printf "\e[0;1m┃ ┃"
PUT 13 1
printf "\e[0;1m┃ ┃"
PUT 14 1
printf "\e[0;1m┃ ┃"
PUT 15 1
printf "\e[0;1m┃ ┃"
PUT 16 1
printf "\e[0;1m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛"
PUT 11 1
printf "┃ Selected addon will be applying ..."
sleep 0.5
PUT 12 1
printf "┃ configuration color : accent.material.colors ...";SL
PUT 13 1
printf "┃ configuration font : Anonymice Nerd.ttf ...";SL
PUT 14 1
printf "┃ configuration default ‘ls’to ‘lsd’ ...";SL
PUT 15 1
printf "┃ configuration default shell to zsh shell ...\e[0m";SL
PUT 16 1
printf "\e[0;1m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\n\n";SL
NORM
echo -ne "\033]12;#b4e1fd\007"
}
default() {
if [ $night -gt "17" ] || [ $night -lt "06" ];then
night
else
light
fi
}
#..............................................................
"$THEME"
#..............................................................
# Thanks for using Theme-Engine.