Kwin script not working winth plasma 6

i’m using this script: “kwin-effect-limitcolors” in github
it was worknig well with plasma 5 but with plasma 6 is not working, i get this error when building:

/home/pc/kwin-effect-limitcolors-master/limitcolors.h:9:10: fatal error: kwineffects.h: No such file or directory
    9 | #include <kwineffects.h>

Obviously, created 4 months ago and apparently undeveloped since then…


It should be pretty easy to port the plugin to Plasma 6 as most changes are just moving to Qt 6 and moving some headers around.