From 3d864c067471c657b95979b30c2e5cdc603ad17b Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Mon, 13 Feb 2023 13:19:05 +0330 Subject: update --- fonts/patch_dejavusansmono.sh | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) (limited to 'fonts') 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/ -- cgit v1.2.3