alacritty_colors/README.md
2020-09-05 20:15:01 +03:00

5.7 KiB
Raw Blame History

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 a bash script to apply themes and show the current theme's colors.

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
# Full repo
git clone https://github.com/dchakro/alacritty_colors.git

cd alacritty_colors
chmod +x show_colors.sh apply_theme.sh
  1. 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.

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

    cd /path/to/alacritty_colors
    cp ~/.alacritty.yml ./base.yml
    
  2. (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.

  3. Apply/Backup/Reset themes using

    ./apply_theme.sh
    

Demo

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

demo.gif

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 didnt realize that there are repos like eendroroys 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

Argonaut YML

image-20200730153019490

Ayu Mirage YML

image-20200730153019490

Blood Moon YML

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

Hyper YML

The color Yellow #FFD700 has taken from Blood Moon.

image-20200730153904592

Iterm Default YML

image-20200730154037517

Kitty YML

image-20200730153019490

Material Theme YML

image-20200730154203299

Metro Style YML

metrostyle

Monokai Soda YML

image-20200730154326639

Pop OS YML

image-20200730155432908

robocopAlpha Colors YML

image-20200730160014996

Seabird YML

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