1waybar-memory(5) File Formats Manual waybar-memory(5)
2
3
4
6 waybar - memory module
7
9 The memory module displays the current memory utilization.
10
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 min-length:
38 typeof: integer
39 The minimum length in characters the module should take up.
40
41 align:
42 typeof: float
43 The alignment of the text, where 0 is left-aligned and 1 is right-
44 aligned. If the module is rotated, it will follow the flow of the text.
45
46 on-click:
47 typeof: string
48 Command to execute when clicked on the module.
49
50 on-click-middle:
51 typeof: string
52 Command to execute when middle-clicked on the module using mouse‐
53 wheel.
54
55 on-click-right:
56 typeof: string
57 Command to execute when you right clicked on the module.
58
59 on-update:
60 typeof: string
61 Command to execute when the module is updated.
62
63 on-scroll-up:
64 typeof: string
65 Command to execute when scrolling up on the module.
66
67 on-scroll-down:
68 typeof: string
69 Command to execute when scrolling down on the module.
70
71 smooth-scrolling-threshold:
72 typeof: double
73 Threshold to be used when scrolling.
74
75 tooltip:
76 typeof: bool
77 default: true
78 Option to disable tooltip on hover.
79
81 {percentage}: Percentage of memory in use.
82
83 {total}: Amount of total memory available in GiB.
84
85 {used}: Amount of used memory in GiB.
86
87 {avail}: Amount of available memory in GiB.
88
90 "memory": {
91 "interval": 30,
92 "format": "{}% ",
93 "max-length": 10
94 }
95
96 FORMATTED MEMORY VALUES
97 "memory": {
98 "interval": 30,
99 "format": "{used:0.1f}G/{total:0.1f}G "
100 }
101
103 • #memory
104
105
106
107 2021-04-15 waybar-memory(5)