Fix font install, add protonup for fedora

This commit is contained in:
askiiart 2023-12-07 12:25:29 -06:00
parent b6f920878c
commit cbaa575871
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
3 changed files with 11 additions and 2 deletions

View file

@ -8,7 +8,7 @@ fi
command_exists() { type "$1" &>/dev/null; }
echo "WARNING: Only Arch is fully supported"
echo "WARNING: Only Arch and Fedora fully supported"
if command_exists "apt-get"; then
sudo apt-get install kitty -y
@ -33,3 +33,9 @@ else
echo "Unsupported: unknown package manager and distro"
exit
fi
sudo mkdir /usr/share/fonts/meslolgs
sudo curl 'https://raw.githubusercontent.com/IlanCosman/tide/assets/fonts/mesloLGS_NF_regular.ttf' -o '/usr/share/fonts/meslolgs/mesloLGS_NF_regular.ttf'
sudo curl 'https://raw.githubusercontent.com/IlanCosman/tide/assets/fonts/mesloLGS_NF_bold.ttf?raw=true' -o '/usr/share/fonts/meslolgs/mesloLGS_NF_bold.ttf'
sudo curl 'https://raw.githubusercontent.com/IlanCosman/tide/assets/fonts/mesloLGS_NF_italic.ttf?raw=true' -o '/usr/share/fonts/meslolgs/mesloLGS_NF_italic.ttf'
sudo curl 'https://raw.githubusercontent.com/IlanCosman/tide/assets/fonts/mesloLGS_NF_bold_italic.ttf?raw=true' -o '/usr/share/fonts/meslolgs/mesloLGS_NF_bold_italic.ttf'