Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Alacritty color template. #611

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Alacritty color template. #611

wants to merge 1 commit into from

Conversation

zBumblB
Copy link

@zBumblB zBumblB commented Jul 23, 2021

The wiki should also be updated.

For this template to work you have to add the following to your alacritty.yml:

import:
  - ~/.cache/wal/colors-alacritty.yml

For this template to work you also have to add the following to your alacritty.yml:
import:
  - ~/.cache/wal/colors-alacritty.yml
@zBumblB
Copy link
Author

zBumblB commented Jul 23, 2021

This should be cross-platform. Alacritty should auto reload the config file unless you turned that off. This allows setting of opacity. Only thing is, that if you omit alpha flag when setting new colorscheme, the terminal background will be completely transparent (opacity 0). It should work better than the wiki solution (which involves a new script).

@agorgl
Copy link

agorgl commented Oct 29, 2021

Waiting for this too! Why hasn't this merged?

@agorgl
Copy link

agorgl commented Nov 5, 2021

@zBumblB I've found out that the above template is incorrect!
The bright and normal colors are swapped. You can verify this by comparing the rendered template with the rendered ANSI color sequences from pywal.

Copy link

@Magnitudexx Magnitudexx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bright and normal colors should be reversed

@Magnitudexx
Copy link

@dylanaraps could this be added if its fixed?

Amar1729 added a commit to Amar1729/dotfiles that referenced this pull request Jan 31, 2022
Copy link

@Teenarp2003 Teenarp2003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this workksss!

@anthonyma94
Copy link

Any updates on this? Alacritty now uses toml files instead.

@evantaur
Copy link

evantaur commented Feb 1, 2024

Any updates on this? Alacritty now uses toml files instead.

In case you or someone still needs it here's the toml version, throw it in your .config/wal/templates and include it with
import=["~/.cache/wal/alacritty.toml"]

[colors.primary]
background = '{background}'
foreground = '{foreground}'

[colors.cursor]
text = '{foreground}'
cursor = '{cursor}'

[colors.normal]
black   = '{color0}'
red     = '{color1}'
green   = '{color2}'
yellow  = '{color3}'
blue    = '{color4}'
magenta = '{color5}'
cyan    = '{color6}'
white   = '{color7}'

[colors.bright]
black   = '{color8}'
red     = '{color9}'
green   = '{color10}'
yellow  = '{color11}'
blue    = '{color12}'
magenta = '{color13}'
cyan    = '{color14}'
white   = '{color15}'

@eylles
Copy link

eylles commented Apr 10, 2024

alacritty toml templates are now part of pywal16 tho still not "released"

@eylles
Copy link

eylles commented Apr 21, 2024

pywal16 3.5.1 is out with the alacritty toml template available.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants