Public Access
16 lines
400 B
Bash
Executable File
16 lines
400 B
Bash
Executable File
#!/bin/bash
|
|
fonts_dir="$HOME/.local/share/fonts"
|
|
mkdir -p "$fonts_dir"
|
|
|
|
# List of fonts to install
|
|
declare -a fonts=(FiraCode JetBrainsMono Hack)
|
|
|
|
for font in "${fonts[@]}"; do
|
|
echo "Installing $font..."
|
|
wget "https://github.com/ryanoasis/nerd-fonts/releases/latest/download/${font}.zip" -P "/tmp/"
|
|
unzip -o "/tmp/${font}.zip" -d "$fonts_dir"
|
|
rm "/tmp/${font}.zip"
|
|
done
|
|
|
|
fc-cache -fv
|