mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Only install if not there
This commit is contained in:
@ -2,16 +2,18 @@ yay -Sy --noconfirm --needed ttf-font-awesome
|
|||||||
|
|
||||||
mkdir -p ~/.local/share/fonts
|
mkdir -p ~/.local/share/fonts
|
||||||
|
|
||||||
cd /tmp
|
if ! fc-list | grep -qi "CaskaydiaMono Nerd Font"; then
|
||||||
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/CascadiaMono.zip
|
cd /tmp
|
||||||
unzip CascadiaMono.zip -d CascadiaFont
|
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/CascadiaMono.zip
|
||||||
cp CascadiaFont/*.ttf ~/.local/share/fonts
|
unzip CascadiaMono.zip -d CascadiaFont
|
||||||
rm -rf CascadiaMono.zip CascadiaFont
|
cp CascadiaFont/*.ttf ~/.local/share/fonts
|
||||||
|
rm -rf CascadiaMono.zip CascadiaFont
|
||||||
|
|
||||||
wget -O iafonts.zip https://github.com/iaolo/iA-Fonts/archive/refs/heads/master.zip
|
wget -O iafonts.zip https://github.com/iaolo/iA-Fonts/archive/refs/heads/master.zip
|
||||||
unzip iafonts.zip -d iaFonts
|
unzip iafonts.zip -d iaFonts
|
||||||
cp iaFonts/iA-Fonts-master/iA\ Writer\ Mono/Static/iAWriterMonoS-*.ttf ~/.local/share/fonts
|
cp iaFonts/iA-Fonts-master/iA\ Writer\ Mono/Static/iAWriterMonoS-*.ttf ~/.local/share/fonts
|
||||||
rm -rf iafonts.zip iaFonts
|
rm -rf iafonts.zip iaFonts
|
||||||
|
|
||||||
fc-cache
|
fc-cache
|
||||||
cd -
|
cd -
|
||||||
|
fi
|
||||||
|
Reference in New Issue
Block a user