Files
glassMxrph/docs/phase-2.md
T
mxandClaude Opus 5.5 99e64a7713 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>
2026-10-07 22:36:17 +02:00

3.1 KiB

Phase 2 — real system tray

Completed and validated on Linux x86_64 / Hyprland 0.56.2 with Quickshell 0.3.1 plus the project-scoped SNI lifecycle fix. Other distributions remain untested.

New files

  • .gitattributes (preserve unified-patch context whitespace)

  • quickshell/services/TrayService.qml

  • quickshell/bar/modules/TrayModule.qml

  • quickshell/menus/TrayIcon.qml

  • quickshell/menus/TrayMenus.qml

  • quickshell/menus/TrayMenu.qml

  • quickshell/menus/TrayMenuItem.qml

  • quickshell/menus/TraySubMenu.qml

  • quickshell/settings/pages/Tray.qml

  • quickshell/testing/TrayDriver.qml (opt-in test driver)

  • tests/tray_fixture.py

  • tests/tray_runtime.py

  • packaging/nix/quickshell.nix

  • packaging/patches/quickshell-0.3.1-sni-unregister.patch

  • docs/phase-2.md

Updated files

  • quickshell/shell.qml: menu composition and optional test driver.
  • quickshell/core/ModuleRegistry.qml: tray registration.
  • quickshell/services/qmldir: shared tray singleton.
  • quickshell/services/ConfigLogic.js, quickshell/config/defaults.json: schema 2 migration and validated tray preferences.
  • quickshell/components/GlassMenu.qml, quickshell/components/GlassMenuItem.qml: shared menu presentation and accessible state.
  • quickshell/settings/Settings.qml: normal navigation and tray deep link.
  • tests/config.test.cjs: preservation and migration regression tests.
  • flake.nix, packaging/nix/package.nix: patched runtime, test dependencies and version 0.2.0.
  • README.md, dependencies.json, docs/architecture.md, docs/compatibility.md, docs/validation.md: usage, dependencies and test evidence.

Verification

Passed: configuration tests, QML lint, foundation runtime regression, isolated SNI/DBusMenu integration, per-monitor menu placement, and locked package build. The documented nix develop environment passed lint and the isolated tray tests without ad hoc dependency paths. Test menus include two nested submenu levels, checked/unchecked radio and checkbox states, disabled/hidden entries, icons, separators, and service exit while a menu is open.

Read-only testing against the live desktop discovered NetworkManager, Blueman and OpenDeck; NetworkManager's exported menu rendered correctly. No application actions were triggered against real providers. No system configuration, services or keybinds changed. Temporary shell instances were stopped after testing.

Try it

From the project directory, use nix run . for the compatibility-patched package. Hover a tray icon for 400 ms, right-click for an immediate menu, and use the cog → Bar / Tray to change preferences. Escape closes a menu. Shift + right-click requests the native menu fallback. Stop the preview with Ctrl+C.

For source development use nix develop, then ./scripts/glassmxrph run. See validation.md for the exact automated commands and remaining manual checks. The preview can overlap the existing shell; it does not replace or stop it.

Remaining manual coverage includes physical outside-click routing, native fallback, hotplug/fractional scaling and other distributions. Phase 3 (dock) is not included.