Misterio77 / flavours

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

feat: look for schemes and templates in config dir #48

Closed loiccoyle closed 2 years ago

loiccoyle commented 2 years ago

Hi !

I was having trouble with my custom templates getting overwritten when using flavours update all so I made some changes so that custom templates can live somewhere else and don't get destroyed when updating.

In short, flavours will also look for schemes & templates in the user's config dir, e.g.:

Added bonus, the custom schemes/templates can more easily be packaged/managed with my other dot files !

I haven't tested it very thoroughly but do with this what you will :)

Misterio77 commented 2 years ago

Thank you! This is an awesome solution for the problem.

Would mind updating the docs too, if possible?

loiccoyle commented 2 years ago

Sorry, I didn't see your reply 🤦🏻‍♂️, I'll update the docs when I get the chance.

loiccoyle commented 2 years ago

I added a section to the readme, let me know what you think.

loiccoyle commented 2 years ago

@Misterio77 friendly ping 😛

Misterio77 commented 2 years ago

Oops sorry for the late reply, missed the notification entirely.

Documentation looks good! Overall everything LGTM, are we ready to merge?

Misterio77 commented 2 years ago

(Just a quick fix to integrate these changes with #52's)

loiccoyle commented 2 years ago

Oops sorry for the late reply, missed the notification entirely.

No worries

Documentation looks good! Overall everything LGTM, are we ready to merge?

All good for me !

Misterio77 commented 2 years ago

Thank you!