-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnerd-fonts.opt.pb
64 lines (64 loc) · 1.52 KB
/
nerd-fonts.opt.pb
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
- hosts: all
vars:
TYPE: nerd-fonts
INSTANCE: main
SRC_DIR: True
BINS:
- name: fetch.sh
basedir: src
#run: True
exec: |
while read -d, -a font
do
wget ${FONTS_URL}/v${RELEASE}/${font}.tar.xz
done <<< "$FONTS,"
- name: install.sh
exec: |
mkdir -p $DEST
cd $DEST
while read -d, -a font
do
tar xvaf ${DIR}/src/$font.tar.xz --touch --no-overwrite-dir --no-same-permissions --no-same-owner --exclude '*.md' --exclude '*.txt' --exclude LICENSE
done <<< "$FONTS,"
# rebuild font cache
fc-cache -fv
ENV:
FONTS: "{{fonts|join(',')}}"
FONTS_URL: https://github.com/ryanoasis/nerd-fonts/releases/download/
RELEASE: "{{release}}"
#DEST: "$HOME/.local/share/fonts"
DEST: /usr/share/fonts
release: 3.2.1
fonts:
- NerdFontsSymbolsOnly
#- 0xProto
#- 3270
#- Agave
#- AnonymousPro
#- Arimo
#- AurulentSansMono
#- CascadiaMono
#- DaddyTimeMono
#- EnvyCodeR
#- FantasqueSansMono
#- FiraCode
#- Go-Mono
#- Inconsolata
#- Iosevka
#- IosevkaTerm
#- Lekton
#- JetBrainsMono
#- MartianMono
#- Monofur
#- Meslo
#- Monaspace
#- Mononoki
#- MPlus
#- ProFont
#- ProggyClean
#- RobotoMono
#- VictorMono
tasks:
- import_tasks: tasks/compfuzor.includes
vars:
type: opt