Skip to content

Commit

Permalink
Merge pull request #107 from sontungexpt/main
Browse files Browse the repository at this point in the history
Wrap all fonts into Monaspace folder when installing fonts in linux
  • Loading branch information
idan authored May 9, 2024
2 parents 8ea9183 + b064a63 commit 93c4bcd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions util/install_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ mkdir -p ~/.local/share/fonts
# remove all fonts from ~/.local/share/fonts that start with "Monaspace"
rm -rf ~/.local/share/fonts/Monaspace*

mkdir -p ~/.local/share/fonts/Monaspace/

# copy all fonts from ./otf to ~/.local/share/fonts
cp ./fonts/otf/* ~/.local/share/fonts
cp ./fonts/otf/* ~/.local/share/fonts/Monaspace/

# copy variable fonts from ./variable to ~/.local/share/fonts
cp ./fonts/variable/* ~/.local/share/fonts
cp ./fonts/variable/* ~/.local/share/fonts/Monaspace/

# Build font information caches
fc-cache -f

0 comments on commit 93c4bcd

Please sign in to comment.