bakkeby / st-flexipatch

An st build with preprocessor directives to decide which patches to include during build time
MIT License
348 stars 107 forks source link

Patch request: palettes / colour schemes #36

Open 62832 opened 3 years ago

62832 commented 3 years ago

Hi! Would it be possible to include the palettes / colour schemes st patch for flexipatch? I'd love to make use of it in my current flexipatch build to cycle between a black-and-white palette and a standard 16-colour palette on the fly, but for now that seems to be missing from flexipatch entirely.

bakkeby commented 3 years ago

It is a relatively easy patch to add on its own. I'm not sure if it is compatible with the alpha and xresources patches, but I had a quick look and I could not see any obvious conflicts.

What would be the benefit of using this patch over external tools such as theme.sh or pywal?

62832 commented 3 years ago

I was not aware theme.sh existed, actually, so thanks for that recommendation.

I'll also add that I'm very rusty with C especially, so when trying to patch it in manually I was left with a broken build of st. Then again, I did do it on a "finalised" flexipatch build which I guess wasn't a good idea.

I'll either have a look and see if I can patch it in myself properly, or just try out theme.sh instead. Thanks anyways.