docs: memory segment

This commit is contained in:
Jan0660 2021-09-03 21:06:03 +02:00 committed by Jan De Dobbeleer
parent daf91dc85a
commit 56e46c208f

29
docs/docs/memory.md Normal file
View file

@ -0,0 +1,29 @@
---
id: memory
title: Memory
sidebar_label: Memory
---
## Memory
Display memory usage percentage.
## Sample Configuration
```json
{
"type": "memory",
"style": "powerline",
"foreground": "#26C6DA",
"background": "#2f2f2f",
"properties": {
"precision": 1,
"prefix": " \uf85a ",
"postfix": "% "
}
}
```
## Properties
- precision: `int` - the number of decimal places to show - defaults to `0`