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,46 @@
|
||||
pragma Singleton
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import "../../../../services" as GS
|
||||
|
||||
// glassMxrph stand-in: answers from glassMxrph's installed plugins.
|
||||
Singleton {
|
||||
readonly property string pluginsDir: (Quickshell.env("XDG_DATA_HOME") || Quickshell.env("HOME") + "/.local/share") + "/glassMxrph/plugins"
|
||||
readonly property var pluginSources: []
|
||||
function getPluginManifest(pluginId) {
|
||||
const p = GS.PluginService.plugin(pluginId);
|
||||
return p ? p.manifest : null;
|
||||
}
|
||||
function getPluginDir(pluginId) {
|
||||
const p = GS.PluginService.plugin(pluginId);
|
||||
return p ? p.dir : "";
|
||||
}
|
||||
function getAllInstalledPluginIds() {
|
||||
return GS.PluginService.plugins.map(p => p.id);
|
||||
}
|
||||
function isPluginEnabled(pluginId) {
|
||||
return GS.PluginService.isEnabled(pluginId);
|
||||
}
|
||||
function isMainSource(url) {
|
||||
return true;
|
||||
}
|
||||
function getPluginSourceUrl(pluginId) {
|
||||
const p = GS.PluginService.plugin(pluginId);
|
||||
return p ? p.source : "";
|
||||
}
|
||||
function parseCompositeKey(key) {
|
||||
return {
|
||||
"pluginId": String(key),
|
||||
"sourceHash": ""
|
||||
};
|
||||
}
|
||||
function getSourceNameByHash(hash) {
|
||||
return "";
|
||||
}
|
||||
function addPluginSource(name, url) {
|
||||
}
|
||||
function removePluginSource(url) {
|
||||
}
|
||||
function setSourceEnabled(url, enabled) {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user