🎉 Add new kwin effect

This commit is contained in:
Simon Schneegans
2022-06-10 11:07:56 +02:00
parent 6a764b6552
commit 46fb61b96c
4 changed files with 119 additions and 0 deletions
@@ -0,0 +1,5 @@
loadConfig() {
this.duration = animationTime(effect.readConfig('Duration', 1000));
effect.setUniform(this.shader, 'uColor', effect.readConfig('Color', 'white'));
effect.setUniform(this.shader, 'uScale', effect.readConfig('Scale', 1.0));
}