bluetooth Bluetooth status pill

veiland-bluetooth · widgets · example scene: bluetooth.toml

Bluetooth status glyph in a small pill (off / on / connected), with an optional connected-device label. Live from bluez over the system D-Bus.

bluetooth scene capture

The glyph has three states — off, on-but-idle, and connected — read live from bluez. With show_label on, a connected device's name appears beside it. See the widgets overview for the shared pill_color / icon_color, anchor, font, and debug_border keys.

Properties

keytypedefaultmeaning
pill_color[r,g,b,a]`[0.059, 0.071, 0.11, 0.686]`Chip background behind the glyph. `[0, 0, 0, 0]` draws no chip.
icon_color[r,g,b,a]whiteTints the glyph. Omit for white.
show_labelbool`false`Show the connected device name. Off = icon-only pill.
label_color[r,g,b,a]`[0.95, 0.95, 0.95, 1.0]`Label text color (RGB only; alpha does not hide it).
label_posstring`"bottom"`Label position relative to the glyph: `top`, `bottom`, `left`, or `right`.
label_disconnectedstring`"N/A"`Label text when nothing is connected. Set to `""` for glyph-only.

every key is optional; omit it and the default applies. misspelled keys are silently ignored, so if a setting seems to do nothing, check the spelling against this table. colors are 0.0–1.0 float arrays.