7ae4497d5b
At the moment, if an effect wants to have a configure button in the desktop effects kcm, it needs to add X-KDE-PluginKeyword field with its plugin id. This is confusing. This change ports scripted effects to X-KDE-ConfigModule, which is more intuitive than X-KDE-PluginKeyword. kcm_kwin4_genericscriptedconfig is a special config module that loads config.ui from KPackage. However, an effect can specify a different config module in the metadata if kcm_kwin4_genericscriptedconfig doesn't suit their needs.
20 lines
524 B
JSON
20 lines
524 B
JSON
{
|
|
"KPackageStructure": "KWin/Effect",
|
|
"KPlugin": {
|
|
"Authors": [
|
|
{
|
|
"Email": "user@example.com",
|
|
"Name": "Real Name"
|
|
}
|
|
],
|
|
"Category": "Appearance",
|
|
"Description": "Quick Effect",
|
|
"EnabledByDefault": true,
|
|
"Id": "quick-effect",
|
|
"License": "GPL",
|
|
"Name": "Quick Effect"
|
|
},
|
|
"X-KDE-ConfigModule": "kcm_kwin4_genericscripted",
|
|
"X-KDE-Ordering": 60,
|
|
"X-Plasma-API": "declarativescript"
|
|
}
|