-
Notifications
You must be signed in to change notification settings - Fork 0
/
script_fonts.sh
executable file
·89 lines (45 loc) · 1.47 KB
/
script_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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/bin/bash
t1=sleep 0.5
echo -e "\033[41;1;37m>>>\033[0m intalar/configurar fontes"
$t1
sudo euse -E infinality xft
$t1
sudo emerge media-fonts/{droid,dejavu,fantasque-sans-mono,fontawesome,unifont,powerline-symbols} media-libs/{fontconfig-infinality,fontconfig}
# não instalar powerline manualmente instalar pelo pacote da distribuição.
git clone https://github.com/powerline/fonts.git --depth=1
$t1
cd
$t1
sh fonts/install.sh
$t1
emerge -qn dev-python/pip
$t1
pip install --user powerline-status
$t1
pip install --user git+git://github.com/powerline/powerline
$t1
wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf
$t1
wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf
$t1
mv PowerlineSymbols.otf ~/.local/share/fonts/
$t1
mv 10-powerline-symbols.conf /etc/fonts/conf.d/
$t1
echo '. /home/jonatas/.local/lib/python3.6/site-packages/powerline/bindings/zsh' >> ~/.zshrc
$t1
git clone https://github.com/Tecate/bitmap-fonts.git ~/.local/share/fonts/
$t1
fc-cache -vf ~/.local/share/fonts/
$t1
sudo mkfontscale ~/.local/share/fonts/
sudo mkfontdir ~/.local/share/fonts/
xset +fp ~/.local/share/fonts/
xset fp rehash
$t1
sudo eselect fontconfig enable 11-lcdfilter-default.conf 10-powerline-symbols.conf 70-yes-bitmaps.conf 52-infinality.conf
$t1
sudo select lcdfilter set default
$t1
sudo eselect infinality set infinality
echo -e "\033[41;1;37m>>>\033[0m configuracao de fontes finalizada"