From fb51d1655e42ee4a8c79a216d6a60d8bffa64ab2 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Wed, 13 Dec 2023 21:31:28 +0100 Subject: [PATCH] Remove useless font install --- config.el | 1 - install.sh | 30 ------------------------------ 2 files changed, 31 deletions(-) diff --git a/config.el b/config.el index f001d9c..46e26b2 100644 --- a/config.el +++ b/config.el @@ -23,7 +23,6 @@ ;; ;; (setq doom-font (font-spec :family "Fira Code" :size 12 :weight 'semi-light) ;; doom-variable-pitch-font (font-spec :family "Fira Sans" :size 13)) -;; (setq doom-font (font-spec :family "FiraCode Nerd Font" :size 14 :weight 'semi-light)) ;; ;; If you or Emacs can't find your font, use 'M-x describe-font' to look them ;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to diff --git a/install.sh b/install.sh index 284cc31..3e26df9 100755 --- a/install.sh +++ b/install.sh @@ -41,35 +41,6 @@ prepare_custom_conf() { fi } -install_nerd_font() { - if [[ $(fc-list | grep "FiraCode") ]] - then - skip_msg "INSTALL FONT" - else - if [ ! -f "$(xdg-user-dir DOWNLOAD)/FiraCode.zip" ] - then - wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/FiraCode.zip -O "$(xdg-user-dir DOWNLOAD)/FiraCode.zip" - check_cmd "DOWNLOAD FONTS IN DOWNLOAD FOLDER" - else - skip_msg "DOWNLOAD FONTS IN DOWNLOAD FOLDER" - fi - if [ ! -d "$(xdg-user-dir DOWNLOAD)/FiraCode" ] - then - unzip "$(xdg-user-dir DOWNLOAD)/FiraCode.zip" -d "$(xdg-user-dir DOWNLOAD)/FiraCode" - check_cmd "UNZIP FONTS IN DOWNLOAD FOLDER" - else - skip_msg "UNZIP FONTS IN DOWNLOAD FOLDER" - fi - mkdir -p ~/.local/share/fonts - check_cmd "PREPARE FONTS FOLDER" - cp $(xdg-user-dir DOWNLOAD)/FiraCode/* ~/.local/share/fonts/ - check_cmd "INSTALL FONTS" - fc-cache -fv - check_cmd "FONT RELOAD CACHE" - fi - - # https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/FiraCode.zip -} install_required_packages() { sudo dnf install ripgrep fish -y @@ -89,6 +60,5 @@ sync_doom() { prepare_doom prepare_custom_conf -install_nerd_font install_required_packages sync_doom