From 07f0a224a69dfc8466823e6b7685a0f99f1e7c8c Mon Sep 17 00:00:00 2001 From: tracer Date: Sun, 29 Mar 2026 20:31:40 +0200 Subject: [PATCH] Install JetBrains Mono Nerd Font on macOS --- README.md | 2 ++ install.sh | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/README.md b/README.md index 05ecb9a..b07bca4 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ Linux: macOS: ```brew install git neovim lsd tmux``` +On macOS, `install.sh` also installs the `font-jetbrains-mono-nerd-font` Homebrew cask. + From your users home directory (~/), execute: ```git clone gitea@git.24unix.net:tracer/dotfiles.git .config/dotfiles``` diff --git a/install.sh b/install.sh index 3d6d30c..c27ca0c 100755 --- a/install.sh +++ b/install.sh @@ -105,6 +105,7 @@ apply_dotfiles() { if [ "$(uname -s)" = "Darwin" ]; then install_karabiner_config fi + install_fonts install_kitty_icon install_tmux_plugins install_powerlevel10k @@ -188,6 +189,21 @@ install_kitty_icon() { echo } +install_fonts() { + if [ "$(uname -s)" != "Darwin" ]; then + return + fi + + if ! command_exists brew; then + skip "font installation: Homebrew is not installed." + return + fi + + echo "${BLUE}Installing fonts...${RESET}" + brew install --cask font-jetbrains-mono-nerd-font + echo +} + install_tmux_plugins() { echo "${BLUE}Installing tmux plugins...${RESET}"