Skip to content

Commit

Permalink
Updates fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
jevandezande committed Jul 1, 2024
1 parent 9ebd384 commit 31b16fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config/setup/update_fonts.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,20 @@

if [ $(uname) = "Linux" ]
then
dir="~/.dotfiles/local/share/fonts"
dir=~/.dotfiles/local/share/fonts
elif [ $(uname) = "Darwin" ]
then
dir="~/Library/Fonts"
else
echo "Unable to setup fonts for $(uname)"
exit
fi

if [ ! -d $dir ]
then
mkdir -p $dir
fi

pushd $dir
curl -fLO https://github.com/ryanoasis/nerd-fonts/raw/HEAD/patched-fonts/DroidSansMono/DroidSansMNerdFont-Regular.otf
popd
Binary file added local/share/fonts/DroidSansMNerdFont-Regular.otf
Binary file not shown.

0 comments on commit 31b16fd

Please sign in to comment.