Skip to content
Chris Hobbs edited this page May 20, 2019 · 16 revisions

The memory module displays the current memory utilization.

Config

Addressed by memory

option typeof default description
interval integer 30 The interval in which the information gets polled.
format string {percentage}% The format, how information should be displayed.
rotate integer Positive value to rotate the text label.
states array A number of memory utilization states which get activated on certain percentage thresholds.
See States
max-length integer The maximum length in character the module should display.
on-click string Command to execute when clicked on the module.
on-click-right string Command to execute when you right clicked on the module.
on-scroll-up string Command to execute when scrolling up on the module.
on-scroll-down string Command to execute when scrolling down on the module.
tooltip bool true Option to disable tooltip on hover.

Format replacements:

string replacement
{percentage} Percentage of memory in use.
{used} Amount of used memory in GiB.
{avail} Amount of available memory in GiB.

Example:

"memory": {
    "interval": 30,
    "format": "{}% ",
    "max-length": 10
}

Style

  • #memory
Clone this wiki locally