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,6 +2,7 @@ yay -Sy --noconfirm --needed ttf-font-awesome
|
|||||||
|
|
||||||
mkdir -p ~/.local/share/fonts
|
mkdir -p ~/.local/share/fonts
|
||||||
|
|
||||||
|
if ! fc-list | grep -qi "CaskaydiaMono Nerd Font"; then
|
||||||
cd /tmp
|
cd /tmp
|
||||||
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/CascadiaMono.zip
|
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/CascadiaMono.zip
|
||||||
unzip CascadiaMono.zip -d CascadiaFont
|
unzip CascadiaMono.zip -d CascadiaFont
|
||||||
@ -15,3 +16,4 @@ rm -rf iafonts.zip iaFonts
|
|||||||
|
|
||||||
fc-cache
|
fc-cache
|
||||||
cd -
|
cd -
|
||||||
|
fi
|
||||||
|
Reference in New Issue
Block a user