mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
docs: memory segment
This commit is contained in:
parent
daf91dc85a
commit
56e46c208f
29
docs/docs/memory.md
Normal file
29
docs/docs/memory.md
Normal 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`
|
Loading…
Reference in a new issue