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,25 @@
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
|
||||
// One surface per configured desktop widget. The model is the list of ids, so
|
||||
// editing an item updates its existing surface instead of recreating it.
|
||||
Scope {
|
||||
id: root
|
||||
// Widgets are created shortly after startup: building many faces while
|
||||
// Quickshell 0.3.1 parses its first Hyprland client list makes a crash in
|
||||
// HyprlandToplevel::updateFromObject far more likely.
|
||||
property bool started: false
|
||||
Timer {
|
||||
running: true
|
||||
interval: 1500
|
||||
onTriggered: root.started = true
|
||||
}
|
||||
Variants {
|
||||
model: root.started ? WidgetState.items.filter(i => !!WidgetRegistry.type(i.type)).map(i => i.id) : []
|
||||
DesktopWidget {}
|
||||
}
|
||||
Variants {
|
||||
model: WidgetState.editing ? Quickshell.screens : []
|
||||
WidgetEditor {}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user