Commit graph

3 commits

Author SHA1 Message Date
2375cfe8a6
Make use of alacritty include functionality
Alacritty processor will now add the colorscheme via include statement
in the original configuration file instead of adding the theme directly
to the file.
2020-12-22 11:23:53 +01:00
89fa02749c
Alacritty processor remove temporary files
Remember to remove any temporary files at the end of processing.
2020-02-15 16:15:02 +01:00
f4991b11e1
Add experimental alacritty support
Alacritty does not support including other files into
its configuration yet. As such, this processor needs to
change the user's configuration file *itself*.

This will generally not be a problem, though it can lead
to corrupted configurations in exceptional circumstances
(such as every line being preceded by the process control
regex, for whatever reason).

In general, the processor looks for a specific line in the
following format:
'# Base16 [theme name] - alacritty color config'
from which it will delete everything until it finds a line:
'# Base16End [theme name] - alacritty color config'
So, if you don't want to lose anything -
Do NOT put anything important between those two lines.

This processor is very experimental and will probably still
break every now and again!
2020-02-15 15:26:24 +01:00