Update README.md

This commit is contained in:
streetturtle 2022-01-23 21:16:21 -05:00 committed by GitHub
parent 0b98ee0e5f
commit cf76114b92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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