From e28640ae5c679e57778a0bfc7772ea1ab59afdd7 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 10 Nov 2022 20:40:14 +0330 Subject: update --- fonts/patch_dejavusansmono.sh | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100755 fonts/patch_dejavusansmono.sh (limited to 'fonts') diff --git a/fonts/patch_dejavusansmono.sh b/fonts/patch_dejavusansmono.sh new file mode 100755 index 0000000..f376e29 --- /dev/null +++ b/fonts/patch_dejavusansmono.sh @@ -0,0 +1,40 @@ +#!/usr/bin/env bash +set -ex + +FONT_PATCHER=./font-patcher +OPTIONS="--adjust-line-height \ +--fontawesome \ +--fontawesomeextension \ +--fontlogos \ +--octicons \ +--codicons \ +--powersymbols \ +--pomicons \ +--powerline \ +--powerlineextra \ +--weather \ +--variable-width-glyphs \ +--careful" + +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} +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 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 + +sudo cp ./DejaVuSansMonoNerdBold.ttf /usr/share/fonts/TTF/ +sudo cp ./DejaVuSansMonoNerdBoldOblique.ttf /usr/share/fonts/TTF/ +sudo cp ./DejaVuSansMonoNerdNormal.ttf /usr/share/fonts/TTF/ +sudo cp ./DejaVuSansMonoNerdOblique.ttf /usr/share/fonts/TTF/ + +sudo fc-cache -fv -- cgit v1.2.3