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

NAME

6       waybar - cpu module
7

DESCRIPTION

9       The cpu module displays the current cpu utilization.
10

CONFIGURATION

12       interval:
13            typeof: integer
14            default: 10
15            The interval in which the information gets polled.
16
17       format:
18            typeof: string
19            default: {usage}%
20            The format, how information should be displayed. On {} data gets
21       inserted.
22
23       max-length:
24            typeof: integer
25            The maximum length in character the module should display.
26
27       rotate:
28            typeof: integer
29            Positive value to rotate the text label.
30
31       states:
32            typeof: array
33            A number of cpu usage states which get activated on certain usage
34       levels. See waybar-states(5).
35
36       on-click:
37            typeof: string
38            Command to execute when clicked on the module.
39
40       on-click-middle:
41            typeof: string
42            Command to execute when middle-clicked on the module using mouse‐
43       wheel.
44
45       on-click-right:
46            typeof: string
47            Command to execute when you right clicked on the module.
48
49       on-update:
50            typeof: string
51            Command to execute when the module is updated.
52
53       on-scroll-up:
54            typeof: string
55            Command to execute when scrolling up on the module.
56
57       on-scroll-down:
58            typeof: string
59            Command to execute when scrolling down on the module.
60
61       smooth-scrolling-threshold:
62            typeof: double
63            Threshold to be used when scrolling.
64
65       tooltip:
66            typeof: bool
67            default: true
68            Option to disable tooltip on hover.
69

FORMAT REPLACEMENTS

71       {load}: Current cpu load.
72
73       {usage}: Current cpu usage.
74

EXAMPLE

76           "cpu": {
77                "interval": 10,
78                "format": "{}% ",
79                "max-length": 10
80           }
81

STYLE

83       ·   #cpu
84
85
86
87                                  2021-02-10                     waybar-cpu(5)
Impressum