Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mecaneer23/alacritty-color
A command-line utility to easily change your Alacritty color scheme
https://github.com/mecaneer23/alacritty-color
Last synced: about 2 months ago
JSON representation
A command-line utility to easily change your Alacritty color scheme
- Host: GitHub
- URL: https://github.com/mecaneer23/alacritty-color
- Owner: mecaneer23
- License: mit
- Created: 2021-12-15T21:07:19.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-18T18:52:26.000Z (8 months ago)
- Last Synced: 2024-05-18T19:45:36.126Z (8 months ago)
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Alacritty Color
A command-line utility to easily change your Alacritty color scheme
## Dependencies
- [Alacritty](https://github.com/alacritty/alacritty) ([Install](#install-alacritty))
- [Python3.10+](https://www.python.org/) ([Install](#install-python-310))## Install Alacritty Color
- Clone this repository
- Run the following command to install:```bash
sudo mv /path/to/alacritty-color/alacritty-color /bin/alacritty-color
```### Install (only configuration file)
```bash
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:```yml
theme-name: &theme-name
...
```- make sure you have a line somewhere in your file with the follwing:
```yml
colors: *theme-name
```### Recommended aliases
Add these to the end of your `~/.bashrc`:
```bash
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
```bash
sudo pacman -S alacritty
```### Debian/Ubuntu
```bash
sudo apt install cargo; cargo install alacritty
```## Install Python 3.10
### Windows
[Python.org](https://www.python.org/downloads/windows/)
### Arch
```bash
sudo pacman -S python
```### Debian/Ubuntu
```bash
sudo apt install python3.10
```