phosphor-shell-osd
On-screen-display framework for volume, brightness, and friends.
The Phosphor.OSD framework owns the transient overlay a shell flashes when you change the volume, the brightness, or toggle the mic. OSDHost shows one at a time, holds it for a timeout, fades it out, and routes it to the right screen, debouncing repeated triggers so spinning a volume key keeps one surface alive and refreshed instead of stacking a dozen. The framework owns presentation and timing only: the content comes from delegates (four ship built in, and plugins can contribute more) and the triggers come from the host, whether that is a hotkey handler, an IPC call, or a service signal.
Key types
OSDHostOSDCardVolumeOSDBrightnessOSDMicOSDCapsLockOSDDependencies
QtCoreQtGuiQtQuickQtQmlQtQuickShapesphosphor-themephosphor-shell-widgets
See also
References
- Library overview → The library's design notes in the API reference.
- QML module
Phosphor.OSDThis library has no C++ API. Import the module in QML to use it. - API reference → Classes, namespaces and D-Bus interfaces across every library.