dky / alacritty_colors

Apply color schemes to alacritty terminal emulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alacritty rocks GitHub license GitHub last commit (branch) GitHub stars GitHub issues PRs Welcome

alacritty colors

About

This repo contains snippets for color schemes to use with alacritty terminal emulator (and other similar apps) and bash scripts to apply themes and show the current theme's colors.

Demo

Here is a quick demo of the process of applying themes to alacritty.

demo.gif

How to use

  1. Clone the repo and give execute permissions to included scripts.

    # Latest version
    git clone --depth 1 https://github.com/dchakro/alacritty_colors.git
    
    # or clone the complete repo
    git clone https://github.com/dchakro/alacritty_colors.git
    
    cd alacritty_colors
    chmod +x show_colors.sh apply_theme.sh
  2. Enable Live Config Reload for alacritty if it is not enabled already by adding the followin line in your ~/.alacritty.yml.

    live_config_reload: true

    Here is a shell command to do it.

    echo "live_config_reload: true" >> ~/.alacritty.yml
  3. Overwrite the base.yml with your ~/.alacritty.yml.

    cd /path/to/alacritty_colors
    cp ~/.alacritty.yml ./base.yml
  4. (Optional) Remove the current color scheme (if any) from the file base.yml, so that the "reset" function in the included script will restore default alacritty colors. Otherwise it will restore your current color scheme.

  5. Apply/Backup/Reset themes using

    ./apply_theme.sh

Info

If you want to view the colors from your current color scheme without cloning this repo, you can do so by running:

curl -sL 'https://raw.githubusercontent.com/dchakro/alacritty_colors/master/show_colors.sh' | bash

Note:

  • Most of these themes are (as-is or modified) from alacritty's wiki.
  • While making this repo I didn’t realize that there are repos like eendroroy’s and rajasegar's repos where they have been putting in the effort for a long time. I will maintain this repo to archive other color schemes that I might find interesting over time.
    • Unlike their repos this repo provides open-source simple bash scripts to view the theme colors and apply the themes.

Preview of themes

image-20200730153019490

Ayu Mirage YML

image-20200730153019490

Bright yellow changed to #FFD700

image-20200730153216611

Breeze (KDE) YML

image-20200730153019490

Breeze2 YML

modified from KDE Breeze by robocopAlpha

breeze2

Darktooth YML

image-20200730153019490

Dracula YML

image-20200730153019490

Gruvbox YML

image-20200730153019490

The color Yellow #FFD700 has taken from Blood Moon.

image-20200730153904592

Iterm Default YML

image-20200730154037517

Kitty YML

image-20200730153019490

image-20200730154203299

Metro Style YML

metrostyle

Monokai Soda YML

image-20200730154326639

Pop OS YML

image-20200730155432908

robocopAlpha Colors YML

image-20200730160014996

Foreground color has been made darker #1A1A1A than original to improve contrast

image-20200730154721260

Spacemacs light YML

Changes: green to #009F6B and magenta to #29A0AD.

image-20200730160138239

Spacer by robocopAlpha YML

Tried to map colors from the Spacemacs Light theme to ones “similar” to the names of the colors.

spacer

Terminal app basic YML

image-20200730155241817

Ubuntu YML

image-20200730155325668

About

Apply color schemes to alacritty terminal emulator

License:The Unlicense


Languages

Language:Shell 100.0%