mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-10 15:52:58 -04:00
@@ -79,6 +79,8 @@ Singleton {
|
||||
saveSettings();
|
||||
}
|
||||
|
||||
property bool clipboardEnterToPaste: false
|
||||
|
||||
property var launcherPluginVisibility: ({})
|
||||
|
||||
function getPluginAllowWithoutTrigger(pluginId) {
|
||||
@@ -2233,10 +2235,16 @@ Singleton {
|
||||
if ((existing.dark && typeof existing.dark === "object") || (existing.light && typeof existing.light === "object")) {
|
||||
perMode = existing;
|
||||
} else if (typeof existing.flavor === "string") {
|
||||
perMode.dark = {flavor: existing.flavor, accent: existing.accent || ""};
|
||||
perMode.dark = {
|
||||
flavor: existing.flavor,
|
||||
accent: existing.accent || ""
|
||||
};
|
||||
}
|
||||
}
|
||||
perMode[mode || "dark"] = {flavor: flavor, accent: accent};
|
||||
perMode[mode || "dark"] = {
|
||||
flavor: flavor,
|
||||
accent: accent
|
||||
};
|
||||
variants[themeId] = perMode;
|
||||
registryThemeVariants = variants;
|
||||
saveSettings();
|
||||
|
||||
@@ -469,6 +469,8 @@ var SPEC = {
|
||||
desktopWidgetGroups: { def: [] },
|
||||
|
||||
builtInPluginSettings: { def: {} },
|
||||
clipboardEnterToPaste: { def: false },
|
||||
|
||||
launcherPluginVisibility: { def: {} },
|
||||
launcherPluginOrder: { def: [] }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user