summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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