Skip to content

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

License

Notifications You must be signed in to change notification settings

mecaneer23/alacritty-color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages