This commit is contained in:
Salim Zaidi 2023-06-23 14:22:11 +01:00
parent 87d012a54c
commit d15b4946d4
5 changed files with 299 additions and 0 deletions

32
3-font.sh Executable file
View 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