mirror of
https://github.com/zedsalim/debian-z.git
synced 2026-02-25 10:49:35 +00:00
Update
This commit is contained in:
parent
87d012a54c
commit
d15b4946d4
5 changed files with 299 additions and 0 deletions
32
3-font.sh
Executable file
32
3-font.sh
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo nala install -y fonts-font-awesome fonts-powerline
|
||||
|
||||
fonts_dir="$HOME/.local/share/fonts"
|
||||
|
||||
if [[ ! -d "$fonts_dir" ]]; then
|
||||
mkdir -p "$fonts_dir"
|
||||
fi
|
||||
|
||||
cd /tmp
|
||||
fonts=(
|
||||
"FiraCode"
|
||||
"JetBrainsMono"
|
||||
)
|
||||
|
||||
for font in ${fonts[@]}
|
||||
do
|
||||
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/$font.zip
|
||||
unzip $font.zip -d $HOME/.local/share/fonts/$font/
|
||||
rm $font.zip
|
||||
done
|
||||
|
||||
cd
|
||||
cd debian-z/
|
||||
tar xzvf Hack-NerdFont.tar.gz
|
||||
cd Hack-NerdFont/
|
||||
mv *ttf ~/.local/share/fonts
|
||||
cd ..
|
||||
rm -r Hack-NerdFont/
|
||||
|
||||
fc-cache -fv
|
||||
Loading…
Add table
Add a link
Reference in a new issue