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

NAME

6       waybar - memory module
7

DESCRIPTION

9       The memory module displays the current memory utilization.
10

CONFIGURATION

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

FORMAT REPLACEMENTS

72       {percentage}: Percentage of memory in use.
73
74       {total}: Amount of total memory available in GiB.
75
76       {used}: Amount of used memory in GiB.
77
78       {avail}: Amount of available memory in GiB.
79

EXAMPLES

81           "memory": {
82                "interval": 30,
83                "format": "{}% ",
84                "max-length": 10
85           }
86
87   FORMATTED MEMORY VALUES
88           "memory": {
89                "interval": 30,
90                "format": "{used:0.1f}G/{total:0.1f}G "
91           }
92

STYLE

94       ·   #memory
95
96
97
98                                  2021-02-10                  waybar-memory(5)
Impressum