Compare commits

..

No commits in common. "242572322697947d1eb8dcb322e5046947826b4e" and "70f6cf9fc9d635518ba8d14b9e0925904627b501" have entirely different histories.

7 changed files with 60 additions and 98 deletions

View file

@ -1,24 +0,0 @@
exclude: "^(src/.*|bin/font-patcher)"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pycqa/isort
rev: 5.9.3
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.9.0.2
hooks:
- id: shellcheck

View file

@ -29,20 +29,16 @@ update-src:
$(call msg,Updating Source Files) $(call msg,Updating Source Files)
@./bin/update-src @./bin/update-src
## lint | run pre-commit hooks ## lint | check shell scripts
.PHONY: lint .PHONY: lint
lint: lint:
@pre-commit run --all @shfmt -w -s $(shell shfmt -f bin/)
## clean | remove patched fonts ## clean | remove patched fonts
.PHONY: clean .PHONY: clean
clean: clean:
@rm -rf patched/* @rm -rf patched/*
# depends on daylinmorgan/yartsu
assets/help.svg:
yartsu -o $@ -t 'make help' -- $(MAKE) -s help
msg = $(call tprint,{a.bold}==>{a.end} {a.b_magenta}$(1){a.end} {a.bold}<=={a.end}) msg = $(call tprint,{a.bold}==>{a.end} {a.b_magenta}$(1){a.end} {a.bold}<=={a.end})
USAGE = {a.b_green}Update MonoLisa with Nerd Fonts! {a.end}\n\n{a.header}usage{a.end}:\n make <recipe>\n USAGE = {a.b_green}Update MonoLisa with Nerd Fonts! {a.end}\n\n{a.header}usage{a.end}:\n make <recipe>\n
-include .task.mk -include .task.mk

View file

@ -80,16 +80,6 @@ You can verify the fonts have been added with `make check`.
If I haven't committed to this repo in a while it's likely a good idea to run `make update-src` to update the fonts, icons and patcher script from nerd fonts. If I haven't committed to this repo in a while it's likely a good idea to run `make update-src` to update the fonts, icons and patcher script from nerd fonts.
## Contributing
Before making changes to to any of the scripts in `bin` you should first install `pre-commit`.
Followed by setting up the `pre-commit` hooks locally.
```bash
pipx install pre-commit
pre-commit install
```
## Special Thanks ## Special Thanks
- [MonoLisa](https://www.monolisa.dev) - [MonoLisa](https://www.monolisa.dev)

View file

@ -1,4 +1,4 @@
<svg class="rich-terminal shadow" viewBox="0 0 610.3333333333334 399.5333333333333" xmlns="http://www.w3.org/2000/svg"> <svg class="rich-terminal shadow" viewBox="0 0 585.3333333333334 399.5333333333333" xmlns="http://www.w3.org/2000/svg">
<!-- Generated with Rich https://www.textualize.io --> <!-- Generated with Rich https://www.textualize.io -->
<style> <style>
@font-face { @font-face {
@ -16,14 +16,14 @@
font-weight: 700; font-weight: 700;
} }
.terminal-2663349072-matrix { .terminal-747138606-matrix {
font-family: Fira Code, monospace; font-family: Fira Code, monospace;
font-size: 20px; font-size: 20px;
line-height: 24.4px; line-height: 24.4px;
font-variant-east-asian: full-width; font-variant-east-asian: full-width;
} }
.terminal-2663349072-title { .terminal-747138606-title {
font-size: 18px; font-size: 18px;
font-weight: bold; font-weight: bold;
font-family: arial; font-family: arial;
@ -33,78 +33,78 @@
-webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7)); -webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7)); filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
} }
.terminal-2663349072-r1 { fill: #a6e3a1;font-weight: bold } .terminal-747138606-r1 { fill: #a6e3a1;font-weight: bold }
.terminal-2663349072-r2 { fill: #c6d0f5 } .terminal-747138606-r2 { fill: #c6d0f5 }
.terminal-2663349072-r3 { fill: #94e2d5;font-weight: bold } .terminal-747138606-r3 { fill: #94e2d5;font-weight: bold }
.terminal-2663349072-r4 { fill: #f9e2af;font-weight: bold } .terminal-747138606-r4 { fill: #f9e2af;font-weight: bold }
.terminal-2663349072-r5 { fill: #8288a5 } .terminal-747138606-r5 { fill: #8288a5 }
</style> </style>
<defs> <defs>
<clipPath id="terminal-2663349072-clip-terminal"> <clipPath id="terminal-747138606-clip-terminal">
<rect x="0" y="0" width="572.4" height="316.2" /> <rect x="0" y="0" width="548.0" height="316.2" />
</clipPath> </clipPath>
<clipPath id="terminal-2663349072-line-0"> <clipPath id="terminal-747138606-line-0">
<rect x="0" y="1.5" width="573.4" height="24.65"/> <rect x="0" y="1.5" width="549" height="24.65"/>
</clipPath> </clipPath>
<clipPath id="terminal-2663349072-line-1"> <clipPath id="terminal-747138606-line-1">
<rect x="0" y="25.9" width="573.4" height="24.65"/> <rect x="0" y="25.9" width="549" height="24.65"/>
</clipPath> </clipPath>
<clipPath id="terminal-2663349072-line-2"> <clipPath id="terminal-747138606-line-2">
<rect x="0" y="50.3" width="573.4" height="24.65"/> <rect x="0" y="50.3" width="549" height="24.65"/>
</clipPath> </clipPath>
<clipPath id="terminal-2663349072-line-3"> <clipPath id="terminal-747138606-line-3">
<rect x="0" y="74.7" width="573.4" height="24.65"/> <rect x="0" y="74.7" width="549" height="24.65"/>
</clipPath> </clipPath>
<clipPath id="terminal-2663349072-line-4"> <clipPath id="terminal-747138606-line-4">
<rect x="0" y="99.1" width="573.4" height="24.65"/> <rect x="0" y="99.1" width="549" height="24.65"/>
</clipPath> </clipPath>
<clipPath id="terminal-2663349072-line-5"> <clipPath id="terminal-747138606-line-5">
<rect x="0" y="123.5" width="573.4" height="24.65"/> <rect x="0" y="123.5" width="549" height="24.65"/>
</clipPath> </clipPath>
<clipPath id="terminal-2663349072-line-6"> <clipPath id="terminal-747138606-line-6">
<rect x="0" y="147.9" width="573.4" height="24.65"/> <rect x="0" y="147.9" width="549" height="24.65"/>
</clipPath> </clipPath>
<clipPath id="terminal-2663349072-line-7"> <clipPath id="terminal-747138606-line-7">
<rect x="0" y="172.3" width="573.4" height="24.65"/> <rect x="0" y="172.3" width="549" height="24.65"/>
</clipPath> </clipPath>
<clipPath id="terminal-2663349072-line-8"> <clipPath id="terminal-747138606-line-8">
<rect x="0" y="196.7" width="573.4" height="24.65"/> <rect x="0" y="196.7" width="549" height="24.65"/>
</clipPath> </clipPath>
<clipPath id="terminal-2663349072-line-9"> <clipPath id="terminal-747138606-line-9">
<rect x="0" y="221.1" width="573.4" height="24.65"/> <rect x="0" y="221.1" width="549" height="24.65"/>
</clipPath> </clipPath>
<clipPath id="terminal-2663349072-line-10"> <clipPath id="terminal-747138606-line-10">
<rect x="0" y="245.5" width="573.4" height="24.65"/> <rect x="0" y="245.5" width="549" height="24.65"/>
</clipPath> </clipPath>
<clipPath id="terminal-2663349072-line-11"> <clipPath id="terminal-747138606-line-11">
<rect x="0" y="269.9" width="573.4" height="24.65"/> <rect x="0" y="269.9" width="549" height="24.65"/>
</clipPath> </clipPath>
</defs> </defs>
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="590" height="365.2" rx="8"/><text class="terminal-2663349072-title" fill="#c6d0f5" text-anchor="middle" x="295" y="27">make&#160;help</text> <rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="565" height="365.2" rx="8"/><text class="terminal-747138606-title" fill="#c6d0f5" text-anchor="middle" x="282" y="27">help</text>
<g transform="translate(32,22)"> <g transform="translate(32,22)">
<circle cx="0" cy="0" r="7" fill="#ff5f57"/> <circle cx="0" cy="0" r="7" fill="#ff5f57"/>
<circle cx="22" cy="0" r="7" fill="#febc2e"/> <circle cx="22" cy="0" r="7" fill="#febc2e"/>
<circle cx="44" cy="0" r="7" fill="#28c840"/> <circle cx="44" cy="0" r="7" fill="#28c840"/>
</g> </g>
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-2663349072-clip-terminal)"> <g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-747138606-clip-terminal)">
<g class="terminal-2663349072-matrix"> <g class="terminal-747138606-matrix">
<text class="terminal-2663349072-r1" x="0" y="20" textLength="402.6" clip-path="url(#terminal-2663349072-line-0)">Update&#160;MonoLisa&#160;with&#160;Nerd&#160;Fonts!&#160;</text><text class="terminal-2663349072-r2" x="573.4" y="20" textLength="12.2" clip-path="url(#terminal-2663349072-line-0)"> <text class="terminal-747138606-r1" x="0" y="20" textLength="402.6" clip-path="url(#terminal-747138606-line-0)">Update&#160;MonoLisa&#160;with&#160;Nerd&#160;Fonts!&#160;</text><text class="terminal-747138606-r2" x="549" y="20" textLength="12.2" clip-path="url(#terminal-747138606-line-0)">
</text><text class="terminal-2663349072-r2" x="573.4" y="44.4" textLength="12.2" clip-path="url(#terminal-2663349072-line-1)"> </text><text class="terminal-747138606-r2" x="549" y="44.4" textLength="12.2" clip-path="url(#terminal-747138606-line-1)">
</text><text class="terminal-2663349072-r3" x="0" y="68.8" textLength="61" clip-path="url(#terminal-2663349072-line-2)">usage</text><text class="terminal-2663349072-r2" x="61" y="68.8" textLength="12.2" clip-path="url(#terminal-2663349072-line-2)">:</text><text class="terminal-2663349072-r2" x="573.4" y="68.8" textLength="12.2" clip-path="url(#terminal-2663349072-line-2)"> </text><text class="terminal-747138606-r3" x="0" y="68.8" textLength="61" clip-path="url(#terminal-747138606-line-2)">usage</text><text class="terminal-747138606-r2" x="61" y="68.8" textLength="12.2" clip-path="url(#terminal-747138606-line-2)">:</text><text class="terminal-747138606-r2" x="549" y="68.8" textLength="12.2" clip-path="url(#terminal-747138606-line-2)">
</text><text class="terminal-2663349072-r2" x="97.6" y="93.2" textLength="158.6" clip-path="url(#terminal-2663349072-line-3)">make&#160;&lt;recipe&gt;</text><text class="terminal-2663349072-r2" x="573.4" y="93.2" textLength="12.2" clip-path="url(#terminal-2663349072-line-3)"> </text><text class="terminal-747138606-r2" x="97.6" y="93.2" textLength="158.6" clip-path="url(#terminal-747138606-line-3)">make&#160;&lt;recipe&gt;</text><text class="terminal-747138606-r2" x="549" y="93.2" textLength="12.2" clip-path="url(#terminal-747138606-line-3)">
</text><text class="terminal-2663349072-r2" x="573.4" y="117.6" textLength="12.2" clip-path="url(#terminal-2663349072-line-4)"> </text><text class="terminal-747138606-r2" x="549" y="117.6" textLength="12.2" clip-path="url(#terminal-747138606-line-4)">
</text><text class="terminal-2663349072-r4" x="0" y="142" textLength="170.8" clip-path="url(#terminal-2663349072-line-5)">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;patch</text><text class="terminal-2663349072-r2" x="170.8" y="142" textLength="36.6" clip-path="url(#terminal-2663349072-line-5)">&#160;&#160;</text><text class="terminal-2663349072-r5" x="207.4" y="142" textLength="268.4" clip-path="url(#terminal-2663349072-line-5)">apply&#160;nerd&#160;fonts&#160;patch</text><text class="terminal-2663349072-r2" x="573.4" y="142" textLength="12.2" clip-path="url(#terminal-2663349072-line-5)"> </text><text class="terminal-747138606-r4" x="0" y="142" textLength="146.4" clip-path="url(#terminal-747138606-line-5)">&#160;&#160;&#160;&#160;&#160;&#160;&#160;patch</text><text class="terminal-747138606-r2" x="146.4" y="142" textLength="36.6" clip-path="url(#terminal-747138606-line-5)">&#160;|&#160;</text><text class="terminal-747138606-r5" x="183" y="142" textLength="317.2" clip-path="url(#terminal-747138606-line-5)">add&#160;nerd&#160;fonts&#160;to&#160;MonoLisa</text><text class="terminal-747138606-r2" x="549" y="142" textLength="12.2" clip-path="url(#terminal-747138606-line-5)">
</text><text class="terminal-2663349072-r4" x="0" y="166.4" textLength="170.8" clip-path="url(#terminal-2663349072-line-6)">&#160;&#160;update-fonts</text><text class="terminal-2663349072-r2" x="170.8" y="166.4" textLength="36.6" clip-path="url(#terminal-2663349072-line-6)">&#160;&#160;</text><text class="terminal-2663349072-r5" x="207.4" y="166.4" textLength="366" clip-path="url(#terminal-2663349072-line-6)">move&#160;fonts&#160;and&#160;update&#160;fc-cache</text><text class="terminal-2663349072-r2" x="573.4" y="166.4" textLength="12.2" clip-path="url(#terminal-2663349072-line-6)"> </text><text class="terminal-747138606-r4" x="0" y="166.4" textLength="146.4" clip-path="url(#terminal-747138606-line-6)">update-fonts</text><text class="terminal-747138606-r2" x="146.4" y="166.4" textLength="36.6" clip-path="url(#terminal-747138606-line-6)">&#160;|&#160;</text><text class="terminal-747138606-r5" x="183" y="166.4" textLength="366" clip-path="url(#terminal-747138606-line-6)">move&#160;fonts&#160;and&#160;update&#160;fc-cache</text><text class="terminal-747138606-r2" x="549" y="166.4" textLength="12.2" clip-path="url(#terminal-747138606-line-6)">
</text><text class="terminal-2663349072-r4" x="0" y="190.8" textLength="170.8" clip-path="url(#terminal-2663349072-line-7)">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;check</text><text class="terminal-2663349072-r2" x="170.8" y="190.8" textLength="36.6" clip-path="url(#terminal-2663349072-line-7)">&#160;&#160;</text><text class="terminal-2663349072-r5" x="207.4" y="190.8" textLength="317.2" clip-path="url(#terminal-2663349072-line-7)">check&#160;fc-list&#160;for&#160;MonoLisa</text><text class="terminal-2663349072-r2" x="573.4" y="190.8" textLength="12.2" clip-path="url(#terminal-2663349072-line-7)"> </text><text class="terminal-747138606-r4" x="0" y="190.8" textLength="146.4" clip-path="url(#terminal-747138606-line-7)">&#160;&#160;&#160;&#160;&#160;&#160;&#160;check</text><text class="terminal-747138606-r2" x="146.4" y="190.8" textLength="36.6" clip-path="url(#terminal-747138606-line-7)">&#160;|&#160;</text><text class="terminal-747138606-r5" x="183" y="190.8" textLength="317.2" clip-path="url(#terminal-747138606-line-7)">check&#160;fc-list&#160;for&#160;MonoLisa</text><text class="terminal-747138606-r2" x="549" y="190.8" textLength="12.2" clip-path="url(#terminal-747138606-line-7)">
</text><text class="terminal-2663349072-r4" x="0" y="215.2" textLength="170.8" clip-path="url(#terminal-2663349072-line-8)">&#160;&#160;&#160;&#160;update-src</text><text class="terminal-2663349072-r2" x="170.8" y="215.2" textLength="36.6" clip-path="url(#terminal-2663349072-line-8)">&#160;&#160;</text><text class="terminal-2663349072-r5" x="207.4" y="215.2" textLength="292.8" clip-path="url(#terminal-2663349072-line-8)">update&#160;nerd&#160;fonts&#160;source</text><text class="terminal-2663349072-r2" x="573.4" y="215.2" textLength="12.2" clip-path="url(#terminal-2663349072-line-8)"> </text><text class="terminal-747138606-r4" x="0" y="215.2" textLength="146.4" clip-path="url(#terminal-747138606-line-8)">&#160;&#160;update-src</text><text class="terminal-747138606-r2" x="146.4" y="215.2" textLength="36.6" clip-path="url(#terminal-747138606-line-8)">&#160;|&#160;</text><text class="terminal-747138606-r5" x="183" y="215.2" textLength="292.8" clip-path="url(#terminal-747138606-line-8)">update&#160;nerd&#160;fonts&#160;source</text><text class="terminal-747138606-r2" x="549" y="215.2" textLength="12.2" clip-path="url(#terminal-747138606-line-8)">
</text><text class="terminal-2663349072-r4" x="0" y="239.6" textLength="170.8" clip-path="url(#terminal-2663349072-line-9)">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;lint</text><text class="terminal-2663349072-r2" x="170.8" y="239.6" textLength="36.6" clip-path="url(#terminal-2663349072-line-9)">&#160;&#160;</text><text class="terminal-2663349072-r5" x="207.4" y="239.6" textLength="244" clip-path="url(#terminal-2663349072-line-9)">run&#160;pre-commit&#160;hooks</text><text class="terminal-2663349072-r2" x="573.4" y="239.6" textLength="12.2" clip-path="url(#terminal-2663349072-line-9)"> </text><text class="terminal-747138606-r4" x="0" y="239.6" textLength="146.4" clip-path="url(#terminal-747138606-line-9)">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;lint</text><text class="terminal-747138606-r2" x="146.4" y="239.6" textLength="36.6" clip-path="url(#terminal-747138606-line-9)">&#160;|&#160;</text><text class="terminal-747138606-r5" x="183" y="239.6" textLength="231.8" clip-path="url(#terminal-747138606-line-9)">check&#160;shell&#160;scripts</text><text class="terminal-747138606-r2" x="549" y="239.6" textLength="12.2" clip-path="url(#terminal-747138606-line-9)">
</text><text class="terminal-2663349072-r4" x="0" y="264" textLength="170.8" clip-path="url(#terminal-2663349072-line-10)">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;clean</text><text class="terminal-2663349072-r2" x="170.8" y="264" textLength="36.6" clip-path="url(#terminal-2663349072-line-10)">&#160;&#160;</text><text class="terminal-2663349072-r5" x="207.4" y="264" textLength="244" clip-path="url(#terminal-2663349072-line-10)">remove&#160;patched&#160;fonts</text><text class="terminal-2663349072-r2" x="573.4" y="264" textLength="12.2" clip-path="url(#terminal-2663349072-line-10)"> </text><text class="terminal-747138606-r4" x="0" y="264" textLength="146.4" clip-path="url(#terminal-747138606-line-10)">&#160;&#160;&#160;&#160;&#160;&#160;&#160;clean</text><text class="terminal-747138606-r2" x="146.4" y="264" textLength="36.6" clip-path="url(#terminal-747138606-line-10)">&#160;|&#160;</text><text class="terminal-747138606-r5" x="183" y="264" textLength="244" clip-path="url(#terminal-747138606-line-10)">remove&#160;patched&#160;fonts</text><text class="terminal-747138606-r2" x="549" y="264" textLength="12.2" clip-path="url(#terminal-747138606-line-10)">
</text><text class="terminal-2663349072-r4" x="0" y="288.4" textLength="170.8" clip-path="url(#terminal-2663349072-line-11)">&#160;&#160;&#160;&#160;&#160;&#160;&#160;h,&#160;help</text><text class="terminal-2663349072-r2" x="170.8" y="288.4" textLength="36.6" clip-path="url(#terminal-2663349072-line-11)">&#160;&#160;</text><text class="terminal-2663349072-r5" x="207.4" y="288.4" textLength="170.8" clip-path="url(#terminal-2663349072-line-11)">show&#160;this&#160;help</text><text class="terminal-2663349072-r2" x="573.4" y="288.4" textLength="12.2" clip-path="url(#terminal-2663349072-line-11)"> </text><text class="terminal-747138606-r4" x="0" y="288.4" textLength="146.4" clip-path="url(#terminal-747138606-line-11)">&#160;&#160;&#160;&#160;&#160;h,&#160;help</text><text class="terminal-747138606-r2" x="146.4" y="288.4" textLength="36.6" clip-path="url(#terminal-747138606-line-11)">&#160;|&#160;</text><text class="terminal-747138606-r5" x="183" y="288.4" textLength="170.8" clip-path="url(#terminal-747138606-line-11)">show&#160;this&#160;help</text><text class="terminal-747138606-r2" x="549" y="288.4" textLength="12.2" clip-path="url(#terminal-747138606-line-11)">
</text><text class="terminal-2663349072-r2" x="573.4" y="312.8" textLength="12.2" clip-path="url(#terminal-2663349072-line-12)"> </text><text class="terminal-747138606-r2" x="549" y="312.8" textLength="12.2" clip-path="url(#terminal-747138606-line-12)">
</text> </text>
</g> </g>
</g> </g>

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9 KiB

View file

@ -220,7 +220,7 @@ def main():
if fp_args: if fp_args:
echo(f"Flags passed to font-patcher: {fp_args}") echo(f"Flags passed to font-patcher: {fp_args}")
if args.verbose: if args.verbose:
echo("Patching the following files") echo(f"Patching the following files")
for fontfile in args.font_path: for fontfile in args.font_path:
sys.stdout.write(f" {color.magenta}->{color.end} {fontfile}\n") sys.stdout.write(f" {color.magenta}->{color.end} {fontfile}\n")
if args.docker: if args.docker:

View file

@ -7,7 +7,7 @@ INSTALL_DIR=~/.local/share/fonts/MonoLisa
mkdir -p $INSTALL_DIR mkdir -p $INSTALL_DIR
for font_dir in "$PATCHED_FONTS"/*; do for font_dir in $PATCHED_FONTS/*; do
patched_dir="${font_dir##*/}" patched_dir="${font_dir##*/}"
echo ">>> $patched_dir" echo ">>> $patched_dir"
@ -15,10 +15,10 @@ for font_dir in "$PATCHED_FONTS"/*; do
if [[ -d ${dest} ]]; then if [[ -d ${dest} ]]; then
echo "deleting existing version" echo "deleting existing version"
rm -rf "$dest" rm -rf $dest
fi fi
mkdir "$dest" && cp -v "$font_dir"/* "$dest" mkdir $dest && cp -v $font_dir/* $dest
done done
echo "Don't forget to run 'fc-cache -f -v'" echo "Don't forget to run 'fc-cache -f -v'"

View file

@ -5,7 +5,7 @@ REPO_URL=git@github.com:ryanoasis/nerd-fonts.git
rm -rf nerd-fonts rm -rf nerd-fonts
git clone --filter=blob:none --no-checkout --depth 1 --sparse $REPO_URL git clone --filter=blob:none --no-checkout --depth 1 --sparse $REPO_URL
cd nerd-fonts || exit cd nerd-fonts
git sparse-checkout add src/glyphs git sparse-checkout add src/glyphs
git checkout git checkout