summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2022-01-23 21:16:21 -0500
committerGitHub <noreply@github.com>2022-01-23 21:16:21 -0500
commitcf76114b924f8e7fbaa3a95b487bc1c8f7612a03 (patch)
tree6caae160ca2a989edf0ab2a0b8536020c0259b69
parent0b98ee0e5f41426ee9f9de2a3a8064f2376a30a8 (diff)
Update README.md
-rw-r--r--cmus-widget/README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmus-widget/README.md b/cmus-widget/README.md
index bd9f3ed..7e7fb9e 100644
--- a/cmus-widget/README.md
+++ b/cmus-widget/README.md
@@ -31,7 +31,10 @@ s.mytasklist, -- Middle widget
To improve responsiveness of the widget when playback is changed by a shortcut use corresponding methods of the widget:
```lua
-awful.key({ modkey, "Shift" }, "p", function () cmus_widget:play_pause() end, {description = "play/pause cmus", group = "custom"}),
+awful.key({ modkey, "Shift" },
+ "p",
+ function() cmus_widget:play_pause() end,
+ {description = "play/pause cmus", group = "custom"}),
```
## Customization