Not much to it, read main.js
Either install from the KDE Store or clone and run
kpackagetool6 --type=KWin/Script -i kde-alt-f4-desktop