A command-line utility to easily change your Alacritty color scheme
- Clone this repository
- Run the following command to install:
sudo mv /path/to/alacritty-color/alacritty-color /bin/alacritty-color
git clone https://github.com/mecaneer23/alacritty-color ~/.config/alacritty
- Add
###DEFAULT_THEME###
to the line directly before your favorite theme - otherwise it will default to the first theme in the list (alphabetically) - make sure every color scheme in your list has the following format:
theme-name: &theme-name
...
- make sure you have a line somewhere in your file with the follwing:
colors: *theme-name
Add these to the end of your ~/.bashrc
:
alias ac="alacritty-color"
alias acc="alacritty-color --current"
alias acr="alacritty-color --random"
acl() {
if [[ ! $1 ]]; then
alacritty-color --list
else
alacritty-color --list | grep $1
fi
}
sudo pacman -S alacritty
sudo apt install cargo; cargo install alacritty
sudo pacman -S python
sudo apt install python3.10