From d906151ae2d2cab3a24260de8380026e14fbbc0f Mon Sep 17 00:00:00 2001 From: ncoop Date: Sat, 30 Jul 2016 11:49:56 -0700 Subject: [PATCH] Documented available callbacks. --- i3pystatus/mpd.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/i3pystatus/mpd.py b/i3pystatus/mpd.py index 0529449..a3d0781 100644 --- a/i3pystatus/mpd.py +++ b/i3pystatus/mpd.py @@ -27,7 +27,15 @@ title is empty) * `{bitrate}` — (Current bitrate in kilobit/s) * `{volume}` — (Volume set in MPD) - Left click on the module play/pauses, right click (un)mutes. + .. rubric:: Available callbacks + + * ``switch_playpause`` — Plays if paused or stopped, otherwise pauses. \ +Emulates ``mpc toggle``. + * ``stop`` — Stops playback. Emulates ``mpc stop``. + * ``next_song`` — Goes to next track in the playlist. Emulates ``mpc \ +next``. + * ``previous_song`` — Goes to previous track in the playlist. Emulates \ +``mpc prev``. """ interval = 1