phosphor-shell-control-center

Quick-settings rails for Wi-Fi, Bluetooth, audio, brightness, and idle.

The Phosphor.ControlCenter QML module: the quick-settings panel a shell opens from the bar. ControlCenter lays out a vertical list of 52 px control rails and slides a DetailPanel over them when the user drills into one. Tiles come from a provider exposing createTile(id, parent), backed in the shell by a Registry<IControlCenterTileFactory>, and a null return means the tile is unavailable in this environment. Like OSDHost and ToastHost it renders into whatever item it is parented to, so the shell decides whether it appears as a pane under the bar or in a standalone popout. Five built-in tiles cover the Wi-Fi radio, Bluetooth power, idle inhibition, default-sink volume, and display brightness. They bind Phosphor.Service.* QML types the host registers at runtime, so the library links no service. Tiles do not latch locally: active follows the service, and a toggle only asks the service to change.

Full API →

Key types

ControlCenter
Rail list and detail routing: materialises tiles from a provider, one detail view at a time.
Tile
Chrome for a toggle: icon, label, live readout, and a 2 px underline that shows the state.
SliderTile
Chrome for a range such as volume or brightness, where the underline is the slider.
DetailPanel
Drill-in view with a back affordance; the tile supplies its content.

Dependencies

See also

References