1waybar-temperature(5)         File Formats Manual        waybar-temperature(5)
2
3
4

NAME

6       waybar - temperature module
7

DESCRIPTION

9       The temperature module displays the current temperature from a thermal
10       zone.
11

CONFIGURATION

13       Addressed by temperature
14
15       thermal-zone:
16            typeof: integer
17            The thermal zone, as in /sys/class/thermal/.
18
19       hwmon-path:
20            typeof: string
21            The temperature path to use, e.g. /sys/class/hwmon/hw‐
22       mon2/temp1_input instead of one in /sys/class/thermal/.
23
24       hwmon-path-abs:
25            typeof: string
26            The path of the hwmon-directory of the device, e.g. /sys/de‐
27       vices/pci0000:00/0000:00:18.3/hwmon. (Note that the subdirectory hw‐
28       mon/hwmon#, where # is a number is not part of the path!) Has to be
29       used together with input-filename.
30
31       input-filename:
32            typeof: string
33            The temperature filename of your hwmon-path-abs, e.g. temp1_input
34
35       critical-threshold:
36            typeof: integer
37            The threshold before it is considered critical (Celsius).
38
39       interval:
40            typeof: integer
41            default: 10
42            The interval in which the information gets polled.
43
44       format-critical:
45            typeof: string
46            The format to use when temperature is considered critical
47
48       format:
49            typeof: string
50            default: {temperatureC}°C
51            The format (Celsius/Fahrenheit/Kelvin) in which the temperature
52       should be displayed.
53
54       format-icons:
55            typeof: array
56            Based on the current temperature (Celsius) and critical-threshold
57       if available, the corresponding icon gets selected. The order is low to
58       high.
59
60       tooltip-format:
61            typeof: string
62            default: {temperatureC}°C
63            The format for the tooltip
64
65       rotate:
66            typeof: integer
67            Positive value to rotate the text label.
68
69       max-length:
70            typeof: integer
71            The maximum length in characters the module should display.
72
73       min-length:
74           typeof: integer
75           The minimum length in characters the module should take up.
76
77       align:
78           typeof: float
79           The alignment of the text, where 0 is left-aligned and 1 is right-
80       aligned. If the module is rotated, it will follow the flow of the text.
81
82       on-click:
83            typeof: string
84            Command to execute when you clicked on the module.
85
86       on-click-middle:
87            typeof: string
88            Command to execute when middle-clicked on the module using mouse‐
89       wheel.
90
91       on-click-right:
92            typeof: string
93            Command to execute when you right clicked on the module.
94
95       on-update:
96            typeof: string
97            Command to execute when the module is updated.
98
99       on-scroll-up:
100            typeof: string
101            Command to execute when scrolling up on the module.
102
103       on-scroll-down:
104            typeof: string
105            Command to execute when scrolling down on the module.
106
107       smooth-scrolling-threshold:
108            typeof: double
109            Threshold to be used when scrolling.
110
111       tooltip:
112            typeof: bool
113            default: true
114            Option to disable tooltip on hover.
115

FORMAT REPLACEMENTS

117       {temperatureC}: Temperature in Celsius.
118
119       {temperatureF}: Temperature in Fahrenheit.
120
121       {temperatureK}: Temperature in Kelvin.
122

EXAMPLES

124            "temperature": {
125                // "thermal-zone": 2,
126                // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
127                // "critical-threshold": 80,
128                // "format-critical": "{temperatureC}°C ",
129                "format": "{temperatureC}°C "
130           }
131

STYLE

133#temperature
134#temperature.critical
135
136
137
138                                  2022-05-23             waybar-temperature(5)
Impressum