You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like documented in the Alacritty wiki the configuration file can contain multiple color schemes by using the great YAML anchor and aliases feature. This is way better than the currently documented installation method that replaces the whole color scheme that was defined before.
By using YAML anchors the user can simply switch between multiple themes without the need to copy & paste them every time but only changing the reference name of the colors field.
Not sure if this will play into how we update the documentation but alacritty/alacritty@3c3e687 was added recently and will allow importing additional config files to overwrite settings in the main config file.
It isn't in a released version yet. But I'm imagining we could add a line like
import:
- ~/.config/alacritty/nord.yml
to the main config file and have it point to src/nord.yml file that the user would download from this repository.
@amayer5125 Thanks, that's exactly what I was hoping for to be added some day 🥳 That will be the recommended installation method since it won't mess with the users configuration file at all.
I guess we can still add the YAML anchors to the documentation so we end up with…
installation per theme file import (recommended, allows to use multiple themes without configuration file mess up)
installation via YAML anchors (also allows to use multiple themes defined in the configuration file)
manual installation via copy&paste of the Nord colors into the configuration file.
Like documented in the Alacritty wiki the configuration file can contain multiple color schemes by using the great YAML anchor and aliases feature. This is way better than the currently documented installation method that replaces the whole color scheme that was defined before.
By using YAML anchors the user can simply switch between multiple themes without the need to copy & paste them every time but only changing the reference name of the
colors
field.The text was updated successfully, but these errors were encountered: