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

@@ -0,0 +1,55 @@
pragma Singleton
import QtQuick
import Quickshell
import Quickshell.Hyprland
import "../../../../core" as Core
// glassMxrph stand-in: context menus open where the plugin asks and close on
// an outside click (Hyprland focus grab); launcher calls use glassMxrph's.
Singleton {
id: root
property var openedPanel: null
property var lockScreen: null
property bool isKeybindRecording: false
property var menu: null
function showContextMenu(contextMenu, anchorItem, screen, targetItem) {
if (!contextMenu || !anchorItem)
return;
closeContextMenu(screen);
menu = contextMenu;
contextMenu.openAtItem(anchorItem, screen, targetItem);
Qt.callLater(() => grab.active = !!root.menu);
}
function closeContextMenu(screen) {
grab.active = false;
if (menu && typeof menu.close === "function")
menu.close();
menu = null;
}
function getPopupMenuWindow(screen) {
return null;
}
function getPanel(name, screen) {
return null;
}
function isLauncherOpen() {
return Core.ShellState.launcherOpen;
}
function closeLauncher() {
Core.ShellState.launcherOpen = false;
}
function openLauncherWithSearch(text) {
Core.ShellState.openLauncher();
}
function setLauncherSearchText(text) {
}
function getLauncherSearchText() {
return "";
}
HyprlandFocusGrab {
id: grab
windows: root.menu ? [root.menu] : []
onCleared: root.closeContextMenu(null)
}
}