This repository contains my sensible defaults for alacritty.
This configuration uses JetBrainsMono Nerd Font. Install it based on your operating system:
macOS
brew tap homebrew/cask-fonts
brew install --cask font-jetbrains-mono-nerd-fontDebian/Ubuntu
sudo apt update
sudo apt install -y wget unzip
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.zip
sudo mkdir -p /usr/share/fonts/truetype/jetbrains-mono
sudo unzip JetBrainsMono.zip -d /usr/share/fonts/truetype/jetbrains-mono
sudo fc-cache -fv
rm JetBrainsMono.zipArch Linux
sudo pacman -S ttf-jetbrains-mono-nerdThe contents of this repository should be placed in your $HOME/.config.
git clone https://github.com/dotbrains/alacritty.git $HOME/.config/alacrittyThis configuration includes multiple color themes:
- Nord - Arctic, north-bluish color palette
- Gruvbox - Retro groove color scheme with warm colors
To switch themes, edit the import line in alacritty.toml:
# For Nord theme
import = [
"~/.config/alacritty/theme/nord.toml"
]
# For Gruvbox theme
import = [
"~/.config/alacritty/theme/gruvbox.toml"
]After changing the theme, Alacritty will automatically reload the configuration.
This project is licensed under the PolyForm Shield License 1.0.0 -- see LICENSE for details.