feat: Add configuration to set how much AWS profile info is shown (#556)

This commit is contained in:
Cédric Da Fonseca
2019-11-02 12:08:54 +01:00
committed by Matan Kushner
parent 26fa4ec1ea
commit fa1267f12f
4 changed files with 210 additions and 47 deletions
+7 -5
View File
@@ -123,11 +123,12 @@ The `aws` module shows the current AWS region and profile. This is based on
### Options
| Variable | Default | Description |
| ---------- | --------------- | ---------------------------------------------------------- |
| `symbol` | `"☁️ "` | The symbol used before displaying the current AWS profile. |
| `style` | `"bold yellow"` | The style for the module. |
| `disabled` | `false` | Disables the `AWS` module. |
| Variable | Default | Description |
| ----------------- | --------------- | ----------------------------------------------------------------------------|
| `symbol` | `"☁️ "` | The symbol used before displaying the current AWS profile. |
| `style` | `"bold yellow"` | The style for the module. |
| `disabled` | `false` | Disables the `AWS` module. |
| `displayed_items` | `all` | Choose which item to display. Possible values: [`all`, `profile`, `region`] |
### Example
@@ -137,6 +138,7 @@ The `aws` module shows the current AWS region and profile. This is based on
[aws]
style = "bold blue"
symbol = "🅰 "
displayed_items = "region"
```
## Battery