diff --git a/docs/docs/memory.md b/docs/docs/memory.md new file mode 100644 index 000000000000..0055a8c69cf7 --- /dev/null +++ b/docs/docs/memory.md @@ -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`