|
NAMEwaybar - bluetooth moduleDESCRIPTIONThe bluetooth module displays information about a bluetooth controller and its connections.CONFIGURATIONAddressed by bluetoothcontroller:
format-device-preference:
format:
format-disabled:
format-off:
format-on:
format-connected:
rotate:
max-length:
min-length: typeof: integer The minimum length in characters the module should take up. align: typeof: float The alignment of the text, where 0 is left-aligned and 1 is right-aligned. If the module is rotated, it will follow the flow of the text. on-click:
on-click-middle:
on-click-right:
on-scroll-up:
on-scroll-down:
smooth-scrolling-threshold:
tooltip:
tooltip-format:
tooltip-format-disabled:
tooltip-format-off:
tooltip-format-on:
tooltip-format-connected:
tooltip-format-enumerate-connected:
FORMAT REPLACEMENTS{status}: Status of the bluetooth device.{num_connections}: Number of connections the displayed controller has. {controller_address}: Address of the displayed controller. {controller_address_type}: Address type of the displayed controller. {controller_alias}: Alias of the displayed controller. {device_address}: Address of the displayed device. {device_address_type}: Address type of the displayed device. {device_alias}: Alias of the displayed device. {device_enumerate}: Show a list of all connected devices,
each on a seperate line. Define the format of each device with the
tooltip-format-enumerate-connected
EXPERIMENTAL BATTERY PERCENTAGE FEATUREAt the time of writing, the experimental features of BlueZ need to be turned on, for the battery percentage options listed below to work.FORMAT REPLACEMENT{device_battery_percentage}: Battery percentage of the displayed device if available. Use only in the config options defined below.CONFIGURATIONformat-connected-battery:typeof: string This format is used when the displayed device provides its battery percentage. tooltip-format-connected-battery:
tooltip-format-enumerate-connected-battery:
EXAMPLES"bluetooth": { // "controller": "controller1", // specify the alias of the controller if there are more than 1 on the system "format": " {status}", "format-disabled": "", // an empty format will hide the module "format-connected": " {num_connections} connected", "tooltip-format": "{controller_alias}\t{controller_address}", "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{device_enumerate}", "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}" } "bluetooth": { "format": " {status}", "format-connected": " {device_alias}", "format-connected-battery": " {device_alias} {device_battery_percentage}%", // "format-device-preference": [ "device1", "device2" ], // preference list deciding the displayed device "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected", "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}", "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}", "tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%" } STYLE•#bluetooth
•#bluetooth.disabled
•#bluetooth.off
•#bluetooth.on
•#bluetooth.connected
•#bluetooth.discoverable
•#bluetooth.discovering
•#bluetooth.pairable
Visit the GSP FreeBSD Man Page Interface. |