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 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-scroll-up:
51 typeof: string
52 Command to execute when scrolling up on the module.
53
54 on-scroll-down:
55 typeof: string
56 Command to execute when scrolling down on the module.
57
58 smooth-scrolling-threshold:
59 typeof: double
60 Threshold to be used when scrolling.
61
62 tooltip:
63 typeof: bool
64 default: true
65 Option to disable tooltip on hover.
66
68 {percentage}: Percentage of memory in use.
69
70 {total}: Amount of total memory available in GiB.
71
72 {used}: Amount of used memory in GiB.
73
74 {avail}: Amount of available memory in GiB.
75
77 "memory": {
78 "interval": 30,
79 "format": "{}% ",
80 "max-length": 10
81 }
82
83 FORMATTED MEMORY VALUES
84 "memory": {
85 "interval": 30,
86 "format": "{used:0.1f}G/{total:0.1f}G "
87 }
88
90 · #memory
91
92
93
94 2020-04-11 waybar-memory(5)