mirror of
https://github.com/starship/starship.git
synced 2025-08-18 12:00:02 +02:00
feat: Add separator config to the memory module (#603)
This commit is contained in:
committed by
Matan Kushner
parent
512ed75ef2
commit
135dddbb4f
@@ -713,6 +713,7 @@ To enable it, set `disabled` to `false` in your configuration file.
|
||||
| `show_swap` | `true` | Display swap usage if total swap is non-zero. |
|
||||
| `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. |
|
||||
| `symbol` | `"🐏 "` | The symbol used before displaying the memory usage. |
|
||||
| `separator` | `" | "` | The symbol or text that will seperate the ram and swap usage. |
|
||||
| `style` | `"bold dimmed white"` | The style for the module. |
|
||||
| `disabled` | `true` | Disables the `memory_usage` module. |
|
||||
|
||||
@@ -726,6 +727,7 @@ show_percentage = true
|
||||
show_swap = true
|
||||
threshold = -1
|
||||
symbol = " "
|
||||
separator = "/"
|
||||
style = "bold dimmed green"
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user