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-scroll-up:
50            typeof: string
51            Command to execute when scrolling up on the module.
52
53       on-scroll-down:
54            typeof: string
55            Command to execute when scrolling down on the module.
56
57       smooth-scrolling-threshold:
58            typeof: double
59            Threshold to be used when scrolling.
60
61       tooltip:
62            typeof: bool
63            default: true
64            Option to disable tooltip on hover.
65

FORMAT REPLACEMENTS

67       {load}: Current cpu load.
68
69       {usage}: Current cpu usage.
70

EXAMPLE

72           "cpu": {
73                "interval": 10,
74                "format": "{}% ",
75                "max-length": 10
76           }
77

STYLE

79       ·   #cpu
80
81
82
83                                  2020-04-11                     waybar-cpu(5)
Impressum