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>
5.3 KiB
Desktop customization
All implementation lives in glassMxrph. Host Nix configuration, existing bindings and autostart are separate integration work.
Bar editor
Open Settings → Bar. Drag a module by its grip to reorder it or move it between Left, Center and Right, including empty lanes. Changes persist on drop. Toggle cards to disable modules; use the available-module buttons to add them.
Keyboard alternative: focus a grip, use Ctrl+Up/Down to reorder or Alt+Left/Right to change lanes. Escape cancels a drag.
Native wallpaper picker
Open Settings → Wallpaper → Open wallpaper picker, or run:
./scripts/glassmxrph wallpaper
The centered carousel follows the current Super+Shift+W picker's visual concept and runs entirely inside glassMxrph. Search local images, select an output, browse with arrow keys and apply with Enter or double-click. History records the last 50 selections. Escape or an outside click closes it.
Configure image directories in Wallpaper settings; the default search directory is ~/Pictures/Wallpapers. Select the Native backend when replacing Serpantinum. New configurations default to Native; existing explicit backend preferences are preserved.
Native wallpapers use one background layer per configured output and need no external wallpaper daemon. Images are decoded before committing the selection. The existing shared wallpaper/Matugen pipeline regenerates enabled automatic palettes and updates the theme live. Wallpapers last while glassMxrph runs. Existing wallpaper services are not stopped automatically; decommission them during host integration.
This picker currently supports local still images, search and history. Serpantinum's online downloads, video wallpapers and additional filters are not included. Existing Super+Shift+W remains untouched until host integration.
Global HyprGlass controls
In Settings → Appearance, choose Match Ghostty’s liquid glass, then Apply to desktop and apps. The matching profile uses the inspected Ghostty liquid preset: blur 0.45, two iterations, refraction 3, chromatic aberration 0.45, Fresnel 0.5, specular 0.8, rim 0.065, lens distortion 0.25 and its dark color adjustments. Shell surface opacity becomes 0.3.
The global effect toggle and layer toggle control ordinary application windows and shell layers. Sliders save draft values; Apply changes the loaded plugin. Explicit app presets and existing layer mappings/exclusions retain priority, so those surfaces may override global values.
After Apply, ownership is saved and the chosen settings reapply on shell startup and Hyprland configuration reload. Restore previous glass restores captured values that have not subsequently been changed externally and disables automatic reapplication. Stopping the shell alone does not restore compositor preferences.
The implementation requires a loaded compatible HyprGlass plugin and hyprctl. It is verified against revision 77636c5711ed572ca199a84d06146ccac0951786. No plugin is installed or loaded by the shell. Without it, neutral QML glass remains usable.
This revision commits custom preset declarations and namespace mappings only on configuration reload. Live controls therefore use verified scalar options with the default fallback preset, preparing values before activating them. They do not pretend to update cached preset declarations. Blur resampling may wait for background changes. Avoid conflicting per-layer preset mappings from the older Phase 9 example when expecting global sliders to control those layers.
Apply checks option readback and rolls back failed writes. A session-scoped restore journal lives under XDG_STATE_HOME/glassMxrph. No Nix or Hyprland files are rewritten.
Validation and changed areas
- Bar: settings/controls/BarEditor.qml, settings/pages/Bar.qml and services/SettingsLogic.js.
- Wallpapers: wallpaper/WallpaperPicker.qml, wallpaper/WallpaperBackground.qml, WallpaperService, desktop helper, shell state/entry point, settings page and runner IPC.
- Glass: helpers/glass.py, services/GlassService.qml, controls/GlassSettings.qml and Appearance.
- Shared configuration defaults/validation, slider precision and test drivers were updated.
Run scripts/validate with installed Quickshell QML imports available. tests/customization_runtime.py exercises real drag input, picker search/apply/history and native background creation, plus global Apply/update/off/Restore against a recording compositor adapter. tests/settings_runtime.py checks settings and real Matugen generation. Both use disposable preferences and stop their preview.
A separate live check against the loaded HyprGlass plugin successfully applied the matching global profile, checked readback and restored every controlled option to its original value.
Tray menu refraction
Tray hover/context menus and nested submenus use small overlay layer windows with the glassMxrph-tray namespace. This lets the installed HyprGlass layer renderer process them; ordinary xdg popup windows bypass that renderer. They inherit the global layer glass settings. If you maintain a namespace whitelist, include glassMxrph-tray and avoid a conflicting preset mapping. The supplied optional example includes it. Native application fallback menus (Shift+right-click) remain application-owned.