added_font_install

main
Moritz Becker 6 months ago
parent 1fcd56928c
commit 20f2ee0286
  1. 16
      dot_config/alacritty/alacritty.toml
  2. 79
      run_once_install_nerdfonts.sh

@ -2,3 +2,19 @@
opacity = 0.8 opacity = 0.8
blur = false blur = false
title = "minmos Termianl" title = "minmos Termianl"
[font]
[font.bold]
family = "Hack Nerd Font Mono"
style = "Bold"
[font.bold_italic]
family = "Hack Nerd Font Mono"
style = "Bold Italic"
[font.italic]
family = "Hack Nerd Font Mono"
style = "Italic"
[font.normal]
family = "Hack Nerd Font Mono"
style = "Regular"

@ -0,0 +1,79 @@
#!/bin/bash
declare -a fonts=(
<<Block_comment
Agave
AnonymousPro
Arimo
AurulentSansMono
BigBlueTerminal
BitstreamVeraSansMono
CascaidaCode
CodeNewRoman
Cousine
DaddyTimeMono
DejaVuSansMono
DroidSansMono
FantasqueSansMono
FiraCode
FiraMono
Go-Mono
Gohu
Hasklig
HeavyData
Hermit
iA-Writer
IBMPlexMono
Inconsolate
InconsolataGo
InconsolataLGC
Iosevka
JetBrainsMono
Lekton
LiberationMono
Lilex
Meslo
Monofur
Mononoki
Monoid
MPlus
NerdFontsSymbolsOnly
Noto
OpenDyslexic
Overpass
ProFont
ProggyClean
RobotoMono
ShareTechMono
Terminus
Tinos
Ubuntu
UbuntuMono
VictorMono
Block_comment
Hack
)
version='2.2.2'
fonts_dir="${HOME}/.local/share/fonts"
if [[ ! -d "$fonts_dir" ]]; then
mkdir -p "$fonts_dir"
fi
for font in "${fonts[@]}"; do
zip_file="${font}.zip"
download_url="https://github.com/ryanoasis/nerd-fonts/releases/download/v${version}/${zip_file}"
echo "Downloading $download_url"
wget "$download_url"
unzip "$zip_file" -d "$fonts_dir" -x "*.txt/*" -x "*.md/*"
rm "$zip_file"
done
find "$fonts_dir" -name '*Windows Compatible*' -delete
fc-cache -fv
Loading…
Cancel
Save