~whynothugo/dotfiles#17: 
waybar: A bluetooth widget

I want a widget that shows connected bluetooth devices.

Currently, both bluetooth and sound are a single widget (since I mostly use bluetooth headphones), but clicking is ambiguous, and non-sound devices don't have a clear approach.

Status
REPORTED
Submitter
~whynothugo
Assigned to
No-one
Submitted
1 year, 9 months ago
Updated
1 year, 9 months ago
Labels
No labels applied.

~whynothugo 1 year, 9 months ago

bluetoothctl devices Connected can list devices, but getting the device type doesn't seem trivial. I probably need to interact with bluez's dbus api directly.

~whynothugo 1 year, 9 months ago

Main icon -> 

Need to reflect discoverable/non-discoverable/off via the colour.

~whynothugo 1 year, 9 months ago

I need an icon per device type (only just pick for those I care about for now).

Device types are here https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/src/dbus-common.c

"audio-card" "audio-headphones" "audio-headset" "camera-photo" "camera-video" "computer" "input-gaming" "input-keyboard" "input-mouse" "input-tablet" "modem" "multimedia-player" "network-wireless" "phone" "printer" "scanner" "unknown" "video-display"

Register here or Log in to comment, or comment via email.