1waybar-bluetooth(5) File Formats Manual waybar-bluetooth(5)
2
3
4
6 waybar - bluetooth module
7
9 The bluetooth module displays information about the status of the de‐
10 vice's bluetooth device.
11
13 Addressed by bluetooth
14
15 format:
16 typeof: string
17 default: {icon}
18 The format, how information should be displayed. This format is
19 used when other formats aren't specified.
20
21 format-icons:
22 typeof: array/object
23 Based on the device status, the corresponding icon gets selected.
24 The order is low to high. Or by the state if it is an object.
25
26 rotate:
27 typeof: integer
28 Positive value to rotate the text label.
29
30 max-length:
31 typeof: integer
32 The maximum length in character the module should display.
33
34 min-length:
35 typeof: integer
36 The minimum length in characters the module should take up.
37
38 align:
39 typeof: float
40 The alignment of the text, where 0 is left-aligned and 1 is right-
41 aligned. If the module is rotated, it will follow the flow of the text.
42
43 on-click:
44 typeof: string
45 Command to execute when clicked on the module.
46
47 on-click-middle:
48 typeof: string
49 Command to execute when middle-clicked on the module using mouse‐
50 wheel.
51
52 on-click-right:
53 typeof: string
54 Command to execute when you right clicked on the module.
55
56 on-scroll-up:
57 typeof: string
58 Command to execute when scrolling up on the module.
59
60 on-scroll-down:
61 typeof: string
62 Command to execute when scrolling down on the module.
63
64 smooth-scrolling-threshold:
65 typeof: double
66 Threshold to be used when scrolling.
67
68 tooltip:
69 typeof: bool
70 default: true
71 Option to disable tooltip on hover.
72
73 tooltip-format:
74 typeof: string
75 The format, how information should be displayed in the tooltip.
76 This format is used when other formats aren't specified.
77
79 {status}: Status of the bluetooth device.
80
81 {icon}: Icon, as defined in format-icons.
82
84 "bluetooth": {
85 "format": "{icon}",
86 "format-alt": "bluetooth: {status}",
87 "format-icons": {
88 "enabled": "",
89 "disabled": ""
90 },
91 "tooltip-format": "{}"
92 }
93
95 • #bluetooth
96
97
98
99 2021-11-02 waybar-bluetooth(5)