-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: look for schemes and templates in config dir #48
feat: look for schemes and templates in config dir #48
Conversation
Thank you! This is an awesome solution for the problem. Would mind updating the docs too, if possible? |
Sorry, I didn't see your reply 🤦🏻♂️, I'll update the docs when I get the chance. |
flavours will also look for schemes & templates in the user's config dir, e.g.: * scheme: `~/.config/flavours/schemes/myscheme/myscheme.yaml` * template: `~/.config/flavours/templates/mysoftware/templates/mytemplate.mustache`
e7d6c9d
to
8ea2c4e
Compare
I added a section to the readme, let me know what you think. |
@Misterio77 friendly ping 😛 |
Oops sorry for the late reply, missed the notification entirely. Documentation looks good! Overall everything LGTM, are we ready to merge? |
(Just a quick fix to integrate these changes with #52's) |
No worries
All good for me ! |
Thank you! |
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.:~/.config/flavours/schemes/myscheme/myscheme.yaml
~/.config/flavours/templates/mysoftware/templates/mytemplate.mustache
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 :)