Misterio77 / flavours

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

How do you specify the file and template under the usage section? #10

Closed ghost closed 3 years ago

ghost commented 3 years ago

Some sort of example would be helpful

Misterio77 commented 3 years ago

Hi! Here's an example for i3wm:

[[item]]
file = '~/.config/i3/config'
template = 'i3'
subtemplate = 'colors'
hook = 'i3-msg reload'
rewrite = false

Just make a [[item]] for each file you want, then specify the file and template (optionally subtemplate too) with file, template and subtemplate keys.

If you want a list of schemes and templates, take a look at the base16 repo.

Misterio77 commented 3 years ago

Here's how config.toml looks like in my dotfiles: https://github.com/Misterio77/dotfiles/blob/master/home/.config/flavours/config.toml

There'll probably be a couple of not released templates, or templates waiting for a pull request on base16 repo. So take a look at this comment if you want to use the polybar template, for example, or let me know if you want me to release one i still didn't

Misterio77 commented 3 years ago

Closing this as an possible documentation improvement, centralized in #11.

Let me know if you need any more help