sunhat/install/fonts.sh

44 lines
1.5 KiB
Bash
Raw Normal View History

2024-05-30 22:21:50 -05:00
mkdir -p ~/.local/share/fonts
2024-06-09 04:16:43 -05:00
# MS Fonts
sudo rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
# Nerd Fonts
2024-05-30 22:21:50 -05:00
cd ~/Downloads
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/CascadiaMono.zip
unzip CascadiaMono.zip -d CascadiaFont
cp CascadiaFont/*.ttf ~/.local/share/fonts
rm -rf CascadiaMono.zip CascadiaFont
2024-06-09 04:16:43 -05:00
cd ~/Downloads
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/VictorMono.zip
unzip VictorMono.zip -d VictorFont
cp VictorFont/*.ttf ~/.local/share/fonts
rm -rf VictorMono.zip VictorFont
2024-05-30 22:21:50 -05:00
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/FiraMono.zip
unzip FiraMono.zip -d FiraMono
cp FiraMono/*.otf ~/.local/share/fonts
rm -rf FiraMono.zip FiraMono
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.zip
unzip JetBrainsMono.zip -d JetBrainsMono
cp JetBrainsMono/*.ttf ~/.local/share/fonts
rm -rf JetBrainsMono.zip JetBrainsMono
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Meslo.zip
unzip Meslo.zip -d Meslo
cp Meslo/*.ttf ~/.local/share/fonts
rm -rf Meslo.zip Meslo
wget https://github.com/iaolo/iA-Fonts/archive/refs/heads/master.zip
unzip master.zip -d iaFonts
cp iaFonts/iA-Fonts-master/iA\ Writer\ Mono/Static/iAWriterMonoS-*.ttf ~/.local/share/fonts
rm -rf master.zip iaFonts
2024-05-30 22:21:50 -05:00
fc-cache
cd -
2024-06-09 04:16:43 -05:00
# Set Victor Mono as the default
gsettings set org.gnome.desktop.interface monospace-font-name 'VictorMono Nerd Font 10'