Misterio77 / flavours

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

apply schemes for specific items #26

Open dustinlagoy opened 3 years ago

dustinlagoy commented 3 years ago

First, flavours is great, thanks! I like to have complementary schemes, as in solarized-light in my terminal and solarized-dark for things like i3. For now I can make this work by having different config files and running:

flavours -c ~/.config/flavours/config-light.toml apply solarized-light
flavours -c ~/.config/flavours/config-dark.toml apply solarized-dark

Would it be useful to implement a different way to handle this? Perhaps one could specify items to apply themes to in the apply command, either by name (which would probably be the value of the template variable) or maybe some tag in the configuration to apply to many items at once. Like:

flavours apply solarized-light --name alacritty
flavours apply solarized-light --tag light

Where the alacritty item would have a line like tag = 'light'.

Misterio77 commented 3 years ago

Hey, thanks for the input!

This is a pretty cool idea, could be very useful. I think i prefer the tag approach. I'll for sure implement it very soon.

Anachron commented 1 year ago

You never got around to implement this, did you? Because sometimes I only want to update a single broken template, it would be nice not to trigger all the other hooks.