summaryrefslogtreecommitdiff
path: root/cmus-widget/README.md
diff options
context:
space:
mode:
authorAugusto Gunsch <augusto@augustogunsch.com>2022-09-21 11:36:37 +0200
committerzachir <zachir@librem.one>2023-10-19 08:22:37 -0500
commit7af31e151d0219a60b408913783056caee1f8392 (patch)
treef89633190be42ccd9236e725e71e5db951b75169 /cmus-widget/README.md
parent23180ef9dc14817b8d1d33706369c20fead4fd99 (diff)
Copy ellipsize function from Spotify widget
Diffstat (limited to 'cmus-widget/README.md')
-rw-r--r--cmus-widget/README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmus-widget/README.md b/cmus-widget/README.md
index e33655e..ddf4bc2 100644
--- a/cmus-widget/README.md
+++ b/cmus-widget/README.md
@@ -36,7 +36,7 @@ awful.key({ }, "XF86AudioPlay", function () cmus_widget:play()
awful.key({ }, "XF86AudioPause", function () cmus_widget:play() end, {description = "pause track", group = "cmus"}),
awful.key({ }, "XF86AudioNext", function () cmus_widget:next_track() end, {description = "next track", group = "cmus"}),
awful.key({ }, "XF86AudioPrev", function () cmus_widget:prev_track() end, {description = "previous track", group = "cmus"}),
-awful.key({ }, "XF86AudioStop", function () cmus_widget:stop() end, {description = "stop cmus", group = "cmus"}),
+awful.key({ }, "XF86AudioStop", function () cmus_widget:stop() end, {description = "stop track", group = "cmus"}),
```
## Customization
@@ -50,4 +50,5 @@ It is possible to customize the widget by providing a table with all or some of
| `font` | `beautiful.font` | Font name and size, like `Play 12` |
| `path_to_icons` | `/usr/share/icons/Arc/actions/symbolic/` | Alternative path for the icons |
| `timeout`| `10` | Refresh cooldown |
+| `max_length` | `30` | Maximum lentgh of title. Text will be ellipsized if longer. |
| `space` | `3` | Space between icon and track title |