toggle-corp / alacritty-colorscheme

Change colorscheme of alacritty with ease.
Apache License 2.0
343 stars 35 forks source link

Bad configuration file #6

Closed s3rgeym closed 4 years ago

s3rgeym commented 5 years ago
$ alacritty-colorscheme -C ~/alacritty-theme/themes -l
base16_default_dark.yaml
challenger_deep.yaml
darcula.yaml
dracula.yaml
falcon.yaml
gruvbox_dark.yaml
gruvbox_light.yaml
high_contrast.yaml
hyper.yaml
iterm.yaml
low_contrast.yaml
material_theme.yaml
nord.yaml
one_dark.yaml
papercolor_light.yaml
pencil_dark.yaml
pencil_light.yaml
snazzy.yaml
solarized_dark.yaml
solarized_light.yaml
taerminal.yaml
terminal_app.yaml
tomorrow_night.yaml
tomorrow_night_bright.yaml
wombat.yaml
xterm.yaml

$ alacritty-colorscheme -C ~/alacritty-theme/themes -T
Bad configuration file.
tnagorra commented 5 years ago

Do you have the markers before and after the color section in your alacritty config? It should look something similar to:

# color_start
colors:
    # Default colors
    primary:
        background: '0x1e2127'
        foreground: '0xabb2bf'

    # Normal colors
    # ...

    # Bright colors
    # ...
# color_end
s3rgeym commented 5 years ago

Do you have the markers before and after the color section in your alacritty config? It should look something similar to:

# color_start
colors:
    # Default colors
    primary:
        background: '0x1e2127'
        foreground: '0xabb2bf'

    # Normal colors
    # ...

    # Bright colors
    # ...
# color_end

It's works!