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.
22       /sys/class/hwmon/hwmon2/temp1_input instead of one in /sys/class/ther‐
23       mal/.
24
25       hwmon-path-abs:
26            typeof: string
27            The path of the hwmon-directory of the device, e.g.
28       /sys/devices/pci0000:00/0000:00:18.3/hwmon. (Note that the subdirectory
29       hwmon/hwmon#, where # is a number is not part of the path!) Has to be
30       used together with input-filename.
31
32       input-filename:
33            typeof: string
34            The temperature filename of your hwmon-path-abs, e.g. temp1_input
35
36       critical-threshold:
37            typeof: integer
38            The threshold before it is considered critical (Celsius).
39
40       interval:
41            typeof: integer
42            default: 10
43            The interval in which the information gets polled.
44
45       format-critical:
46            typeof: string
47            The format to use when temperature is considered critical
48
49       format:
50            typeof: string
51            default: {temperatureC}°C
52            The format (Celsius/Fahrenheit/Kelvin) in which the temperature
53       should be displayed.
54
55       format-icons:
56            typeof: array
57            Based on the current temperature (Celsius) and critical-threshold
58       if available, the corresponding icon gets selected. The order is low to
59       high.
60
61       rotate:
62            typeof: integer
63            Positive value to rotate the text label.
64
65       max-length:
66            typeof: integer
67            The maximum length in characters the module should display.
68
69       on-click:
70            typeof: string
71            Command to execute when you clicked on the module.
72
73       on-click-middle:
74            typeof: string
75            Command to execute when middle-clicked on the module using mouse‐
76       wheel.
77
78       on-click-right:
79            typeof: string
80            Command to execute when you right clicked on the module.
81
82       on-update:
83            typeof: string
84            Command to execute when the module is updated.
85
86       on-scroll-up:
87            typeof: string
88            Command to execute when scrolling up on the module.
89
90       on-scroll-down:
91            typeof: string
92            Command to execute when scrolling down on the module.
93
94       smooth-scrolling-threshold:
95            typeof: double
96            Threshold to be used when scrolling.
97
98       tooltip:
99            typeof: bool
100            default: true
101            Option to disable tooltip on hover.
102

FORMAT REPLACEMENTS

104       {temperatureC}: Temperature in Celsius.
105
106       {temperatureF}: Temperature in Fahrenheit.
107
108       {temperatureK}: Temperature in Kelvin.
109

EXAMPLES

111            "temperature": {
112                // "thermal-zone": 2,
113                // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
114                // "critical-threshold": 80,
115                // "format-critical": "{temperatureC}°C ",
116                "format": "{temperatureC}°C "
117           }
118

STYLE

120       ·   #temperature
121       ·   #temperature.critical
122
123
124
125                                  2021-02-10             waybar-temperature(5)
Impressum