Install a few more default nerd fonts
This commit is contained in:
parent
17e19847d5
commit
0fb623410e
@ -1,11 +1,28 @@
|
|||||||
if ! [ -f "$HOME/.local/share/fonts/CaskaydiaMonoNerdFont-Regular.ttf" ]; then
|
mkdir -p ~/.local/share/fonts
|
||||||
cd ~/Downloads
|
|
||||||
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/CascadiaMono.zip
|
cd ~/Downloads
|
||||||
unzip CascadiaMono.zip -d CascadiaFont
|
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/CascadiaMono.zip
|
||||||
mkdir -p ~/.local/share/fonts
|
unzip CascadiaMono.zip -d CascadiaFont
|
||||||
cp CascadiaFont/*.ttf ~/.local/share/fonts
|
cp CascadiaFont/*.ttf ~/.local/share/fonts
|
||||||
rm -rf CascadiaMono.zip CascadiaFont
|
rm -rf CascadiaMono.zip CascadiaFont
|
||||||
fc-cache
|
|
||||||
gsettings set org.gnome.desktop.interface monospace-font-name 'CaskaydiaMono Nerd Font 10'
|
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/FiraMono.zip
|
||||||
cd -
|
unzip FiraMono.zip -d FiraMono
|
||||||
fi
|
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
|
||||||
|
|
||||||
|
fc-cache
|
||||||
|
cd -
|
||||||
|
|
||||||
|
# Set Cascadia Mono as the default
|
||||||
|
gsettings set org.gnome.desktop.interface monospace-font-name 'CaskaydiaMono Nerd Font 10'
|
||||||
|
Loading…
Reference in New Issue
Block a user