diff --git a/.gitmodules b/.gitmodules index 379a406a..3759193b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -88,3 +88,15 @@ branch = master ignore = dirty shallow = true +[submodule "submodules/source-sans"] + path = submodules/source-sans + url = https://github.com/adobe-fonts/source-sans.git + branch = release + ignore = dirty + shallow = true +[submodule "submodules/source-serif"] + path = submodules/source-serif + url = https://github.com/adobe-fonts/source-serif.git + branch = release + ignore = dirty + shallow = true diff --git a/install b/install index 7ff788b0..fc281261 100755 --- a/install +++ b/install @@ -339,6 +339,8 @@ if [ "$(id -u)" == "0" ]; then ln -nsfv $HOME/.shell-things/submodules/nicoverbruggen-ebook-fonts/fonts /usr/local/share/fonts/nicoverbruggen-ebook-fonts ln -nsfv $HOME/.shell-things/submodules/microsoft-fonts/Symbols/*.ttf /usr/local/share/fonts/ ln -nsfv $HOME/.shell-things/submodules/microsoft-fonts/Symbols/*.otf /usr/local/share/fonts/ + ln -nsfv $HOME/.shell-things/submodules/source-sans/VF/*.otf /usr/local/share/fonts/ + ln -nsfv $HOME/.shell-things/submodules/source-serif/VAR/*.otf /usr/local/share/fonts/ fi # Symlink cleanup @@ -461,6 +463,8 @@ if [ -d "$HOME/.shell-things" ]; then ln -nsfv $HOME/.shell-things/submodules/nicoverbruggen-ebook-fonts/fonts $HOME/.local/share/fonts/nicoverbruggen-ebook-fonts ln -nsfv $HOME/.shell-things/submodules/microsoft-fonts/Symbols/*.ttf $HOME/.local/share/fonts/ ln -nsfv $HOME/.shell-things/submodules/microsoft-fonts/Symbols/*.otf $HOME/.local/share/fonts/ + ln -nsfv $HOME/.shell-things/submodules/source-sans/VF/*.otf $HOME/.local/share/fonts/ + ln -nsfv $HOME/.shell-things/submodules/source-serif/VAR/*.otf $HOME/.local/share/fonts/ # Font cleanup if hash symlinks 2> /dev/null; then diff --git a/submodules/source-sans b/submodules/source-sans new file mode 160000 index 00000000..82818d47 --- /dev/null +++ b/submodules/source-sans @@ -0,0 +1 @@ +Subproject commit 82818d477056d06ae48f9c68970f9bffd56ce139 diff --git a/submodules/source-serif b/submodules/source-serif new file mode 160000 index 00000000..d7130035 --- /dev/null +++ b/submodules/source-serif @@ -0,0 +1 @@ +Subproject commit d713003556bcf2dc7eb13593a45b5d48296846bc