summaryrefslogtreecommitdiff
path: root/cmus-widget
diff options
context:
space:
mode:
Diffstat (limited to 'cmus-widget')
-rw-r--r--cmus-widget/README.md7
-rw-r--r--cmus-widget/screenshots/cmus-widget.png (renamed from cmus-widget/cmus-widget.png)bin6959 -> 6959 bytes
2 files changed, 5 insertions, 2 deletions
diff --git a/cmus-widget/README.md b/cmus-widget/README.md
index b1fecb9..eec5773 100644
--- a/cmus-widget/README.md
+++ b/cmus-widget/README.md
@@ -2,7 +2,7 @@
Cmus widget that shows the current playing track.
-![widget](cmus-widget.png)
+![widget](./screenshots/cmus-widget.png)
Left click toggles playback.
@@ -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
diff --git a/cmus-widget/cmus-widget.png b/cmus-widget/screenshots/cmus-widget.png
index ba04401..ba04401 100644
--- a/cmus-widget/cmus-widget.png
+++ b/cmus-widget/screenshots/cmus-widget.png
Binary files differ