[neuwm] motif decorations
Cross-posted from r/unixart by u/Ramiferous
OP's comment:
Probably more of a layup, and still nowhere near as cool as shod by u/narrow_assignment but it's getting there.
window decorations painstakingly stolen from shod by manually cutting up screenshots.
shod generates it's decoration at runtime from a single base colour using HSY colour math. I tried to replicate this in neuwm but struggled to get the decorations looking perfect. So I decided to just pull in PNG assets at compile time via the neuswc decor parts API, resulting in pixel-perfect control over the bevel geometry, including the (currently non-functional) button ornaments. The tradeoff is a recompile to change themes, but the visual quality is worth it.
I have also included a version without titlebars, similar to emwm > screenshot