mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
37 lines
1.4 KiB
Bash
37 lines
1.4 KiB
Bash
#!/bin/bash
|
|
|
|
if [ -z "$OMARCHY_BARE" ]; then
|
|
yay -Sy --noconfirm --needed ttf-font-awesome noto-fonts noto-fonts-emoji noto-fonts-cjk noto-fonts-extra
|
|
else
|
|
yay -Sy --noconfirm --needed ttf-font-awesome noto-fonts noto-fonts-emoji
|
|
fi
|
|
|
|
mkdir -p ~/.local/share/fonts
|
|
|
|
if ! fc-list | grep -qi "CaskaydiaMono Nerd Font"; then
|
|
cd /tmp
|
|
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/CascadiaMono.zip
|
|
unzip CascadiaMono.zip -d CascadiaFont
|
|
cp CascadiaFont/CaskaydiaMonoNerdFont-Regular.ttf ~/.local/share/fonts
|
|
cp CascadiaFont/CaskaydiaMonoNerdFont-Bold.ttf ~/.local/share/fonts
|
|
cp CascadiaFont/CaskaydiaMonoNerdFont-Italic.ttf ~/.local/share/fonts
|
|
cp CascadiaFont/CaskaydiaMonoNerdFont-BoldItalic.ttf ~/.local/share/fonts
|
|
cp CascadiaFont/CaskaydiaMonoNerdFontPropo-Regular.ttf ~/.local/share/fonts
|
|
cp CascadiaFont/CaskaydiaMonoNerdFontPropo-Bold.ttf ~/.local/share/fonts
|
|
cp CascadiaFont/CaskaydiaMonoNerdFontPropo-Italic.ttf ~/.local/share/fonts
|
|
cp CascadiaFont/CaskaydiaMonoNerdFontPropo-BoldItalic.ttf ~/.local/share/fonts
|
|
rm -rf CascadiaMono.zip CascadiaFont
|
|
fc-cache
|
|
cd -
|
|
fi
|
|
|
|
if ! fc-list | grep -qi "iA Writer Mono S"; then
|
|
cd /tmp
|
|
wget -O iafonts.zip https://github.com/iaolo/iA-Fonts/archive/refs/heads/master.zip
|
|
unzip iafonts.zip -d iaFonts
|
|
cp iaFonts/iA-Fonts-master/iA\ Writer\ Mono/Static/iAWriterMonoS-*.ttf ~/.local/share/fonts
|
|
rm -rf iafonts.zip iaFonts
|
|
fc-cache
|
|
cd -
|
|
fi
|