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:
mxandClaude Opus 5.5 committed 2026-10-07 22:36:17 +02:00
commit 99e64a7713
433 files changed
+57792

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
import QtQuick
import "../../services"
// Base for desktop widget faces; DesktopWidget binds these after loading.
Item {
id: face
property string widgetId
property string kind
property string variant
property var options: ({})
// False while windows cover this widget's desktop: faces pause motion and sampling.
property bool desktopVisible: true
// Faces showing live metrics keep the shared collector running only while shown.
property bool usesMetrics: false
readonly property bool sampling: usesMetrics && desktopVisible
property bool counted: false
function count(next) {
if (next !== counted) {
MetricsService.consumers += next ? 1 : -1;
counted = next;
}
}
onSamplingChanged: count(sampling)
Component.onCompleted: count(sampling)
Component.onDestruction: count(false)
// Reference size for typography that scales with the widget.
readonly property real unit: Math.min(width, height * 2)
}