On Thu, Sep 2, 2021 at 11:17 AM, Chris wrote:
bluetoothctl info 98:D3:31:F7:55:37
I haven't played with this and can't say specific for Conky but to parse the data you could use:
bluetoothctl info 98:D3:31:F7:55:37 | grep Connectedwhich should just show you the connected statement. Taking it one step more:
bluetoothctl info 98:D3:31:F7:55:37 | grep Connected | awk '{ print $2 }'should leave you with yes or no.
Hope that helps
?
--
73, de KM4ACK
|
|