Skip to content

Latest commit

 

History

History
91 lines (61 loc) · 1.62 KB

README.md

File metadata and controls

91 lines (61 loc) · 1.62 KB

Alacritty Color

A command-line utility to easily change your Alacritty color scheme

Dependencies

Install Alacritty Color

  • Clone this repository
  • Run the following command to install:
sudo mv /path/to/alacritty-color/alacritty-color /bin/alacritty-color

Install (only configuration file)

git clone https://github.com/mecaneer23/alacritty-color ~/.config/alacritty

Recommended configuration changes (~/.config/alacritty/alacritty.yml)

  • 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

Recommended aliases

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
}

Install Alacritty

Arch

sudo pacman -S alacritty

Debian/Ubuntu

sudo apt install cargo; cargo install alacritty

Install Python 3.10

Windows

Python.org

Arch

sudo pacman -S python

Debian/Ubuntu

sudo apt install python3.10