1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-11 08:12:09 -04:00

clipboard: option to paste on enter

fixes #1686
This commit is contained in:
bbedward
2026-02-15 13:36:19 -05:00
parent 13ef1efa7b
commit e5cdbf4cf5
6 changed files with 41 additions and 6 deletions

View File

@@ -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();