1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-02 03:28:28 -04:00

feat(Notepad): add notepad desktop entry & IPC commands file handling

This commit is contained in:
purian23
2026-07-04 16:10:56 -04:00
parent bfda5f2d66
commit 81a4d3b4e0
23 changed files with 129 additions and 1 deletions
+10
View File
@@ -165,6 +165,16 @@ Singleton {
readonly property string dmsLogoPath: Qt.resolvedUrl("../assets/danklogo2.svg")
// Prevent desktop entry duplicates from core apps
readonly property var builtInShadowDesktopIds: ["com.danklinux.dms.notepad"]
function isShadowedByCoreApp(app) {
if (!app)
return false;
const id = (app.id || "").replace(/\.desktop$/, "");
return builtInShadowDesktopIds.includes(id);
}
readonly property var builtInPlugins: ({
"dms_settings": {
id: "dms_settings",