install scripts

This commit is contained in:
Roman Volovoy
2026-09-28 12:45:07 +02:00
parent a0341ca1c7
commit b8304c06af
2 changed files with 40 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/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