diff --git a/assets/help.svg b/assets/help.svg
index a042912..fd364d7 100644
--- a/assets/help.svg
+++ b/assets/help.svg
@@ -88,9 +88,9 @@
-
+
-
+
Update MonoLisa with Nerd Fonts!
diff --git a/bin/patch-monolisa b/bin/patch-monolisa
index 910e5cc..5d9c3c5 100755
--- a/bin/patch-monolisa
+++ b/bin/patch-monolisa
@@ -150,7 +150,7 @@ def patch_single_font(
if fp_args:
cmd += fp_args.split(" ")
-
+
if verbose:
echo(f"cmd: {' '.join(cmd)}")
run_cmd(cmd, font_path, verbose)
@@ -220,7 +220,7 @@ def main():
if fp_args:
echo(f"Flags passed to font-patcher: {fp_args}")
if args.verbose:
- echo(f"Patching the following files")
+ echo("Patching the following files")
for fontfile in args.font_path:
sys.stdout.write(f" {color.magenta}->{color.end} {fontfile}\n")
if args.docker:
diff --git a/bin/update-fonts b/bin/update-fonts
index 6acf934..6d98c33 100755
--- a/bin/update-fonts
+++ b/bin/update-fonts
@@ -7,7 +7,7 @@ INSTALL_DIR=~/.local/share/fonts/MonoLisa
mkdir -p $INSTALL_DIR
-for font_dir in $PATCHED_FONTS/*; do
+for font_dir in "$PATCHED_FONTS"/*; do
patched_dir="${font_dir##*/}"
echo ">>> $patched_dir"
@@ -15,10 +15,10 @@ for font_dir in $PATCHED_FONTS/*; do
if [[ -d ${dest} ]]; then
echo "deleting existing version"
- rm -rf $dest
+ rm -rf "$dest"
fi
- mkdir $dest && cp -v $font_dir/* $dest
+ mkdir "$dest" && cp -v "$font_dir"/* "$dest"
done
echo "Don't forget to run 'fc-cache -f -v'"
diff --git a/bin/update-src b/bin/update-src
index 293c051..917b47a 100755
--- a/bin/update-src
+++ b/bin/update-src
@@ -5,7 +5,7 @@ REPO_URL=git@github.com:ryanoasis/nerd-fonts.git
rm -rf nerd-fonts
git clone --filter=blob:none --no-checkout --depth 1 --sparse $REPO_URL
-cd nerd-fonts
+cd nerd-fonts || exit
git sparse-checkout add src/glyphs
git checkout