add source code pro to complete the set

This commit is contained in:
Aminda Suomalainen 2025-10-23 18:15:48 +03:00
parent 6cc7c46f88
commit ed884c39da
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
3 changed files with 11 additions and 0 deletions

6
.gitmodules vendored
View File

@ -100,3 +100,9 @@
branch = release
ignore = dirty
shallow = true
[submodule "submodules/source-code-pro"]
path = submodules/source-code-pro
url = https://github.com/adobe-fonts/source-code-pro.git
branch = release
ignore = dirty
shallow = true

View File

@ -343,6 +343,8 @@ if [ "$(id -u)" == "0" ]; then
ln -nsfv $HOME/.shell-things/submodules/source-sans/OTF/ /usr/local/share/fonts/source-sans
ln -nsfv $HOME/.shell-things/submodules/source-serif/VAR/*.otf /usr/local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/source-serif/OTF /usr/local/share/fonts/source-serif
ln -nsfv $HOME/.shell-things/submodules/source-code-pro/VF/*.otf /usr/local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/source-code-pro/OTF/ /usr/local/share/fonts/source-code-pro
fi
# Symlink cleanup
@ -469,6 +471,8 @@ if [ -d "$HOME/.shell-things" ]; then
ln -nsfv $HOME/.shell-things/submodules/source-sans/OTF/ $HOME/.local/share/fonts/source-sans
ln -nsfv $HOME/.shell-things/submodules/source-serif/VAR/*.otf $HOME/.local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/source-serif/OTF $HOME/.local/share/fonts/source-serif
ln -nsfv $HOME/.shell-things/submodules/source-code-pro/VF/*.otf $HOME/.local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/source-code-pro/OTF/ $HOME/.local/share/fonts/source-code-pro
# Font cleanup
if hash symlinks 2> /dev/null; then

@ -0,0 +1 @@
Subproject commit 208d9ac7a6827ceb51ea2dc635794839d9659e52