From 1d42d64f8722be51d0dede3c2e7da3ed3e32936c Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Sun, 1 Sep 2024 22:10:42 +0000 Subject: [PATCH] plugins: hide tileseditor and windowview effects from KCM Part of https://invent.kde.org/plasma/systemsettings/-/issues/39 These don't make much sense to disable as they're completely benign when not in use. Their config windows only contain shortcuts which are already in the Shortcuts KCM, so they're harmless to hide from the Desktop Effects KCM. --- src/plugins/tileseditor/metadata.json | 5 ++++- src/plugins/windowview/metadata.json | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/plugins/tileseditor/metadata.json b/src/plugins/tileseditor/metadata.json index d5b34b6064..af46984e0f 100644 --- a/src/plugins/tileseditor/metadata.json +++ b/src/plugins/tileseditor/metadata.json @@ -86,5 +86,8 @@ "Name[zh_CN]": "磁贴编辑器", "Name[zh_TW]": "平鋪方塊編輯器" }, - "X-KDE-ConfigModule": "kwin_tileseditor_config" + "X-KDE-ConfigModule": "kwin_tileseditor_config", + "org.kde.kwin.effect": { + "internal": true + } } diff --git a/src/plugins/windowview/metadata.json b/src/plugins/windowview/metadata.json index ef5a365a13..7c290b29d0 100644 --- a/src/plugins/windowview/metadata.json +++ b/src/plugins/windowview/metadata.json @@ -97,5 +97,8 @@ "Name[zh_CN]": "窗口平铺展示", "Name[zh_TW]": "展示視窗" }, - "X-KDE-ConfigModule": "kwin_windowview_config" + "X-KDE-ConfigModule": "kwin_windowview_config", + "org.kde.kwin.effect": { + "internal": true + } }