# Memory (https://mangowm.github.io/docs/bar/modules/memory)

Shows memory usage, read from `/proc`.

```jsonc
"modules-right": ["memory"],

"memory": {
    "format": " {}%"
}
```

## Options [#options]

| Option     | Type    | Default               | Description                                                  |
| ---------- | ------- | --------------------- | ------------------------------------------------------------ |
| `format`   | string  | `MEM:{}%`             | Display format                                               |
| `interval` | int (s) | global `sys-interval` | Refresh interval override; `0`/omitted uses the global value |

## Placeholders [#placeholders]

| Placeholder        | Description          |
| ------------------ | -------------------- |
| `{}` / `{percent}` | Memory usage percent |

## Styling [#styling]

```css
#mem {
  background: linear-gradient(to top, #83a598, mix(#83a598, #fbf1c7, 0.3));
  color: #1b1a1a;
}
```