Quickshell


BluetoothAdapter: QtObject

uncreatable
import Quickshell.Bluetooth
A Bluetooth adapter

Properties [?]

  • adapterId string
    readonly

    The internal ID of the adapter (e.g., “hci0”).

  • devices ObjectModel <BluetoothDevice>
    readonly

    Bluetooth devices connected to this adapter.

  • discovering bool

    True if the adapter is scanning for new devices.

  • dbusPath string
    readonly

    DBus path of the adapter under the org.bluez system service.

  • discoverable bool

    True if the adapter can be discovered by other bluetooth devices.

  • enabled bool

    True if the adapter is currently enabled. More detailed state is available from Go to state.

  • discoverableTimeout int

    Timeout in seconds for how long the adapter stays discoverable after Go to discoverable is set to true. A value of 0 means the adapter stays discoverable forever.

  • name string
    readonly

    System provided name of the adapter. See Go to adapterId for the internal identifier.

  • state BluetoothAdapterState
    readonly

    Detailed power state of the adapter.

  • pairableTimeout int

    Timeout in seconds for how long the adapter stays pairable after Go to pairable is set to true. A value of 0 means the adapter stays pairable forever. Defaults to 0.

  • pairable bool

    True if the adapter is accepting incoming pairing requests.

    This only affects incoming pairing requests and should typically only be changed by system settings applications. Defaults to true.