Misterio77 / flavours

🎨💧 An easy to use base16 scheme manager that integrates with any workflow.
MIT License
506 stars 28 forks source link

Error: Couldn't get items from config file. #36

Closed eaxly closed 3 years ago

eaxly commented 3 years ago

Hey there! First off, thank you for developing this, it looks incredibly promising! :+1: I just can't seem to get it to work, whenever I run flavours apply <theme-name> (nord for example) I just get the following error message:

Error: Couldn't get items from config file. Check the default file or github for config examples.

This is my configuration:

# Commands go through bash
shell = "bash -c '{}'"

# Sway supports the default '#' comments, so it can be ommited
# 'rewrite' is also ommited, as it defaults to false
[[items]]
file = "~/.config/kitty/colors.conf"
subtemplate = "default"
template = "kitty"

And I ran flavours update all several times now.

Have a good day!

Misterio77 commented 3 years ago

Hey! Thanks for your kind words and trying my little project out!

I think you might be running version 0.5.

The README refers to the (as of now) unreleased 0.6 version, in which i renamed [[item]] to [[items]] (while keeping backwards compatibility).

Just change [[items]] to [[item]] for now and you should be good to go! I'll make a note so people don't get this mixed up in the future.

eaxly commented 3 years ago

Thank you! It works perfectly now!