Add glassMxrph shell sources
Initial commit of the Quickshell desktop suite: bar, dock, launcher, settings, Control Center, dashboard, OSD, lock screen, desktop widgets, plugin host with the vendored Noctalia/Omarchy compatibility layer, helpers, packaging, tests and phase documentation. Includes the optimization work so far: usage widgets and dashboard gauges no longer animate continuously, desktop widgets pause while covered, system controls stop flickering on background polls, dock app matching uses an indexed catalog, and workspace ghosts are created only for occupied slots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
99e64a7713
433 files changed
+57792
No files matched your search
@@ -0,0 +1,28 @@
|
||||
import QtQuick
|
||||
|
||||
QtObject {
|
||||
id: root
|
||||
|
||||
// Add numpad Enter as a second default keybind for keyEnter
|
||||
function migrate(adapter, logger, rawJson) {
|
||||
logger.i("Settings", "Migrating settings to v54");
|
||||
|
||||
const keybinds = rawJson?.general?.keybinds;
|
||||
if (!keybinds)
|
||||
return true;
|
||||
|
||||
const keyEnter = keybinds.keyEnter;
|
||||
if (!keyEnter || !Array.isArray(keyEnter))
|
||||
return true;
|
||||
|
||||
// Only add "Enter" if the first entry is "Return" and "Enter" isn't already present
|
||||
if (keyEnter[0] === "Return" && !keyEnter.includes("Enter")) {
|
||||
var updated = Array.from(keyEnter);
|
||||
updated.splice(1, 0, "Enter");
|
||||
adapter.general.keybinds.keyEnter = updated;
|
||||
logger.i("Settings", "Added 'Enter' (numpad) as second default keybind for keyEnter");
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user