diff options
author | terminaldweller <thabogre@gmail.com> | 2023-02-13 09:49:05 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2023-02-13 09:49:05 +0000 |
commit | 3d864c067471c657b95979b30c2e5cdc603ad17b (patch) | |
tree | 81aec07b3c310a00b50634349838cef345a4a7bf /fonts | |
parent | updates (diff) | |
download | scripts-3d864c067471c657b95979b30c2e5cdc603ad17b.tar.gz scripts-3d864c067471c657b95979b30c2e5cdc603ad17b.zip |
update
Diffstat (limited to 'fonts')
-rwxr-xr-x | fonts/patch_dejavusansmono.sh | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/fonts/patch_dejavusansmono.sh b/fonts/patch_dejavusansmono.sh index f376e29..09111c8 100755 --- a/fonts/patch_dejavusansmono.sh +++ b/fonts/patch_dejavusansmono.sh @@ -1,36 +1,44 @@ #!/usr/bin/env bash set -ex +FONT_NORMAL=DejaVuSansMonoNerdNormal.ttf +FONT_BOLD=DejaVuSansMonoNerdBold.ttf +FONT_OBLIQUE=DejaVuSansMonoNerdOblique.ttf +FONT_BOLD_OBLIQUE=DejaVuSansMonoNerdBoldOblique.ttf + FONT_PATCHER=./font-patcher -OPTIONS="--adjust-line-height \ ---fontawesome \ +OPTIONS="--fontawesome \ --fontawesomeextension \ --fontlogos \ --octicons \ --codicons \ --powersymbols \ --pomicons \ +--material \ +--careful \ --powerline \ --powerlineextra \ --weather \ +--mono \ +--adjust-line-height \ --variable-width-glyphs \ ---careful" +--makegroups" FONT_LIST=("./dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono.ttf" "./dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono-BoldOblique.ttf" "./dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono-Oblique.ttf" "./dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono-Bold.ttf") for FONT in ${FONT_LIST[@]};do - ${FONT_PATCHER} ${OPTIONS} ${FONT} + ${FONT_PATCHER} ${OPTIONS} "${FONT}" done -mv DejaVu\ Sans\ Mono\ Bold\ Nerd\ Font\ Plus\ Font\ Awesome\ Plus\ Font\ Awesome\ Extension\ Plus\ Octicons\ Plus\ Power\ Symbols\ Plus\ Codicons\ Plus\ Pomicons\ Plus\ Font\ Logos\ Plus\ Weather\ Icons.ttf DejaVuSansMonoNerdBold.ttf -mv DejaVu\ Sans\ Mono\ Bold\ Oblique\ Nerd\ Font\ Plus\ Font\ Awesome\ Plus\ Font\ Awesome\ Extension\ Plus\ Octicons\ Plus\ Power\ Symbols\ Plus\ Codicons\ Plus\ Pomicons\ Plus\ Font\ Logos\ Plus\ Weather\ Icons.ttf DejaVuSansMonoNerdBoldOblique.ttf -mv DejaVu\ Sans\ Mono\ Nerd\ Font\ Plus\ Font\ Awesome\ Plus\ Font\ Awesome\ Extension\ Plus\ Octicons\ Plus\ Power\ Symbols\ Plus\ Codicons\ Plus\ Pomicons\ Plus\ Font\ Logos\ Plus\ Weather\ Icons.ttf DejaVuSansMonoNerdNormal.ttf -mv DejaVu\ Sans\ Mono\ Oblique\ Nerd\ Font\ Plus\ Font\ Awesome\ Plus\ Font\ Awesome\ Extension\ Plus\ Octicons\ Plus\ Power\ Symbols\ Plus\ Codicons\ Plus\ Pomicons\ Plus\ Font\ Logos\ Plus\ Weather\ Icons.ttf DejaVuSansMonoNerdOblique.ttf +# mv 'DejaVu Sans Mono Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Codicons Plus Pomicons Plus Font Logos Plus Weather Icons Mono Bold Oblique.ttf' ${FONT_BOLD_OBLIQUE} +# mv 'DejaVu Sans Mono Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Codicons Plus Pomicons Plus Font Logos Plus Weather Icons Mono Bold.ttf' ${FONT_BOLD} +# mv 'DejaVu Sans Mono Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Codicons Plus Pomicons Plus Font Logos Plus Weather Icons Mono Oblique.ttf' ${FONT_OBLIQUE} +# mv 'DejaVu Sans Mono Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Codicons Plus Pomicons Plus Font Logos Plus Weather Icons Mono.ttf' ${FONT_NORMAL} -# mv 'DejaVu Sans Mono Bold Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Codicons Plus Pomicons Plus Font Logos Plus Weather Icons Mono.ttf' DejaVuSansMonoNerdBold.ttf -# mv 'DejaVu Sans Mono Bold Oblique Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Codicons Plus Pomicons Plus Font Logos Plus Weather Icons Mono.ttf' DejaVuSansMonoNerdBoldOblique.ttf -# mv 'DejaVu Sans Mono Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Codicons Plus Pomicons Plus Font Logos Plus Weather Icons Mono.ttf' DejaVuSansMonoNerdNormal.ttf -# mv 'DejaVu Sans Mono Oblique Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Codicons Plus Pomicons Plus Font Logos Plus Weather Icons Mono.ttf' DejaVuSansMonoNerdOblique.ttf +mv './DejaVu Sans Mono Nerd Font Complete Mono Bold Oblique.ttf' ${FONT_BOLD_OBLIQUE} +mv './DejaVu Sans Mono Nerd Font Complete Mono Bold.ttf' ${FONT_BOLD} +mv './DejaVu Sans Mono Nerd Font Complete Mono Oblique.ttf' ${FONT_OBLIQUE} +mv './DejaVu Sans Mono Nerd Font Complete Mono.ttf' ${FONT_NORMAL} sudo cp ./DejaVuSansMonoNerdBold.ttf /usr/share/fonts/TTF/ sudo cp ./DejaVuSansMonoNerdBoldOblique.ttf /usr/share/fonts/TTF/ |