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: Noctalia plugins talk to glassMxrph's plugin service.
|
||||
Singleton {
|
||||
readonly property bool initialized: GS.PluginService.loaded
|
||||
readonly property bool pluginsFullyLoaded: GS.PluginService.loaded
|
||||
readonly property var availablePlugins: []
|
||||
readonly property var pluginUpdates: ({})
|
||||
readonly property int pluginUpdatesPending: 0
|
||||
readonly property var installingPlugins: ({})
|
||||
readonly property int activeFetches: 0
|
||||
function getPluginAPI(pluginId) {
|
||||
return GS.PluginService.noctaliaApi(pluginId);
|
||||
}
|
||||
function hasPluginError(pluginId) {
|
||||
return false;
|
||||
}
|
||||
function getPluginError(pluginId) {
|
||||
return "";
|
||||
}
|
||||
function enablePlugin(pluginId) {
|
||||
GS.PluginService.setEnabled(pluginId, true);
|
||||
}
|
||||
function disablePlugin(pluginId) {
|
||||
GS.PluginService.setEnabled(pluginId, false);
|
||||
}
|
||||
function uninstallPlugin(pluginId) {
|
||||
GS.PluginService.remove(pluginId);
|
||||
}
|
||||
function installPlugin(plugin) {
|
||||
}
|
||||
function updatePlugin(pluginId) {
|
||||
}
|
||||
function checkForUpdates() {
|
||||
}
|
||||
function refreshAvailablePlugins() {
|
||||
}
|
||||
function isPluginHotReloadEnabled(pluginId) {
|
||||
return false;
|
||||
}
|
||||
function togglePluginHotReload(pluginId) {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user