Add fonts, fix protonup-qt on fedora
This commit is contained in:
parent
8cb779310c
commit
2b9c0a8d6c
5 changed files with 40 additions and 8 deletions
19
install-stuff/install-fonts.bash
Executable file
19
install-stuff/install-fonts.bash
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
sudo mkdir /usr/share/fonts/firacode
|
||||
mkdir ./tmp-fonts
|
||||
cd ./tmp-fonts
|
||||
|
||||
curl $(curl -s https://api.github.com/repos/ryanoasis/nerd-fonts/releases/latest | grep "browser_download_url.*FiraCode.zip" | cut -d : -f 2,3 | tr -d \") -LO
|
||||
unzip FiraCode.zip
|
||||
sudo mv FiraCodeNerdFont*.ttf /usr/share/fonts/firacode/
|
||||
|
||||
sudo mkdir /usr/share/fonts/atkinson-hyperlegible
|
||||
curl -LO https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible/main/fonts/ttf/AtkinsonHyperlegible-Regular.ttf
|
||||
curl -LO https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible/main/fonts/ttf/AtkinsonHyperlegible-Bold.ttf
|
||||
curl -LO https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible/main/fonts/ttf/AtkinsonHyperlegible-Italic.ttf
|
||||
curl -LO https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible/main/fonts/ttf/AtkinsonHyperlegible-BoldItalic.ttf
|
||||
sudo mv AtkinsonHyperlegible*.ttf /usr/share/fonts/atkinson-hyperlegible/
|
||||
|
||||
cd -
|
||||
rm -rf ./tmp-fonts
|
Loading…
Add table
Add a link
Reference in a new issue