Fix spotify-widget max_length option documentation

Fixed up a spelling error and documented the -1 behavior.
The -1 behavior is obviously intended, because it was already demonstrated
in one of the examples.
This commit is contained in:
Christopher Crockett 2022-07-13 15:54:04 -04:00
parent 67f2327a61
commit 4c1cb4f681
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ It is possible to customize widget by providing a table with all or some of the
| `font` | `Play 9`| Font | | `font` | `Play 9`| Font |
| `dim_when_paused` | `false` | Decrease the widget opacity if spotify is paused | | `dim_when_paused` | `false` | Decrease the widget opacity if spotify is paused |
| `dim_opacity` | `0.2` | Widget's opacity when dimmed, `dim_when_paused` should be set to `true` | | `dim_opacity` | `0.2` | Widget's opacity when dimmed, `dim_when_paused` should be set to `true` |
| `max_length` | `15` | Maximum lentgh of artist and title names. Text will be ellipsized if longer. | | `max_length` | `15` | Maximum length of the artist and title name labels before ellipsizing. -1 prevents ellipsizing entirely. |
| `title_scroll_length` | `100` | Maximum length of title name before it begins scrolling. -1 prevents scrolling entirely. | | `title_scroll_length` | `100` | Maximum length of title name before it begins scrolling. -1 prevents scrolling entirely. |
| `show_tooltip` | `true` | Show tooltip on hover with information about the playing song | | `show_tooltip` | `true` | Show tooltip on hover with information about the playing song |
| `timeout` | 1 | How often in seconds the widget refreshes | | `timeout` | 1 | How often in seconds the widget refreshes |