forked from termux/termux-styling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup-nerd-fonts.sh
executable file
·70 lines (49 loc) · 2.38 KB
/
setup-nerd-fonts.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
#!/usr/bin/env bash
set -e -u
getNerdFont() {
commit=5f748cdb104a241ec8ac229f24518f3f867e8eb2
url="https://github.com/ryanoasis/nerd-fonts/raw/$commit/patched-fonts/${2}"
local_file=app/src/main/assets/fonts/$1.ttf
echo "Fetching $url ..."
curl -fLo "${local_file}" "${url}"
}
getNerdFont Anonymous-Pro \
"AnonymousPro/complete/Anonymice%20Nerd%20Font%20Complete%20Mono.ttf"
getNerdFont DejaVu \
"DejaVuSansMono/Regular/complete/DejaVu%20Sans%20Mono%20Nerd%20Font%20Complete%20Mono.ttf"
getNerdFont Fantasque \
"FantasqueSansMono/Regular/complete/Fantasque%20Sans%20Mono%20Regular%20Nerd%20Font%20Complete%20Mono.ttf"
getNerdFont FiraCode \
"FiraCode/Regular/complete/Fira%20Code%20Regular%20Nerd%20Font%20Complete%20Mono.otf"
getNerdFont Fira \
"FiraMono/Regular/complete/Fira%20Mono%20Regular%20Nerd%20Font%20Complete%20Mono.otf"
getNerdFont Go \
"Go-Mono/Regular/complete/Go%20Mono%20Nerd%20Font%20Complete%20Mono.ttf"
getNerdFont Hack \
"Hack/Regular/complete/Hack%20Regular%20Nerd%20Font%20Complete%20Mono.ttf"
getNerdFont Hermit \
"Hermit/Medium/complete/Hurmit%20Medium%20Nerd%20Font%20Complete%20Mono.otf"
getNerdFont Inconsolata \
"Inconsolata/complete/Inconsolata%20Nerd%20Font%20Complete%20Mono.otf"
getNerdFont Iosevka \
"Iosevka/Regular/complete/Iosevka%20Nerd%20Font%20Complete%20Mono.ttf"
getNerdFont LiberationMono \
"LiberationMono/complete/Literation%20Mono%20Nerd%20Font%20Complete%20Mono.ttf"
getNerdFont Meslo \
"Meslo/L/Regular/complete/Meslo%20LG%20L%20Regular%20Nerd%20Font%20Complete%20Mono.ttf"
getNerdFont Monofur \
"Monofur/Regular/complete/monofur%20Nerd%20Font%20Complete%20Mono.ttf"
getNerdFont Monoid \
"Monoid/Regular/complete/Monoid%20Regular%20Nerd%20Font%20Complete%20Mono.ttf"
getNerdFont OpenDyslexic \
"OpenDyslexic/Regular/complete/OpenDyslexic%20Regular%20Nerd%20Font%20Complete%20Mono.otf"
getNerdFont Roboto \
"RobotoMono/Regular/complete/Roboto%20Mono%20Nerd%20Font%20Complete%20Mono.ttf"
getNerdFont Source-Code-Pro \
"SourceCodePro/Regular/complete/Sauce%20Code%20Pro%20Nerd%20Font%20Complete%20Mono.ttf"
getNerdFont Terminus \
"Terminus/terminus-ttf-4.40.1/Regular/complete/Terminess%20(TTF)%20Nerd%20Font%20Complete%20Mono.ttf"
getNerdFont Ubuntu \
"UbuntuMono/Regular/complete/Ubuntu%20Mono%20Nerd%20Font%20Complete%20Mono.ttf"
getNerdFont VictorMono \
"VictorMono/Regular/complete/Victor%20Mono%20Regular%20Nerd%20Font%20Complete%20Mono.ttf"