-
Notifications
You must be signed in to change notification settings - Fork 5
/
fonts.sh
18 lines (15 loc) · 1.18 KB
/
fonts.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
if [ ! -d "~/.local/share/fonts/" ]; then
mkdir ~/.local/share/fonts/
fi
wget -O ~/.local/share/fonts/PowerlineSymbols.otf https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf
wget -O ~/.local/share/fonts/fontawesome-regular.ttf https://github.com/gabrielelana/awesome-terminal-fonts/raw/master/build/fontawesome-regular.ttf
wget -O ~/.local/share/fonts/fontawesome-regular.sh https://github.com/gabrielelana/awesome-terminal-fonts/raw/master/build/fontawesome-regular.sh
wget -O ~/.local/share/fonts/devicons-regular.ttf https://github.com/gabrielelana/awesome-terminal-fonts/raw/master/build/devicons-regular.ttf
wget -O ~/.local/share/fonts/devicons-regular.sh https://github.com/gabrielelana/awesome-terminal-fonts/raw/master/build/devicons-regular.sh
wget -O ~/.local/share/fonts/octicons-regular.ttf https://github.com/gabrielelana/awesome-terminal-fonts/raw/master/build/octicons-regular.ttf
wget -O ~/.local/share/fonts/octicons-regular.sh https://github.com/gabrielelana/awesome-terminal-fonts/raw/master/build/octicons-regular.sh
fc-cache -vf ~/.local/share/fonts/
if [ ! -d "~/.config/fontconfig/conf.d/" ]; then
mkdir -p ~/.config/fontconfig/conf.d/
fi