Hello. I enabled the scale effect when opening/closing windows. How can I make this same effect apply to minimizing/maximizing windows on plasma desktop?

I don’t mind writing a custom kwin rule, I just never did it before, so I’d need a little help with that :)