Document new notification duration option

This commit is contained in:
Lyndon Sanche 2022-01-25 19:03:31 -07:00
parent 92bca205e7
commit 3f6e9daf7d
No known key found for this signature in database
GPG Key ID: 6F8E82F60C799B18

View File

@ -598,7 +598,7 @@ running `eval $(starship init $0)`, and then proceed as normal.
### Options
| Option | Default | Description |
| -------------------- | ----------------------------- | ---------------------------------------------------------- |
| ---------------------- | ----------------------------- | ---------------------------------------------------------- |
| `min_time` | `2_000` | Shortest duration to show time for (in milliseconds). |
| `show_milliseconds` | `false` | Show milliseconds in addition to seconds for the duration. |
| `format` | `"took [$duration]($style) "` | The format for the module. |
@ -606,6 +606,7 @@ running `eval $(starship init $0)`, and then proceed as normal.
| `disabled` | `false` | Disables the `cmd_duration` module. |
| `show_notifications` | `false` | Show desktop notifications when command completes. |
| `min_time_to_notify` | `45_000` | Shortest duration for notification (in milliseconds). |
| `notification_timeout` | `750` | Duration to show notification for (in milliseconds). |
::: tip