aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2014-11-05 02:16:41 +0800
committerDeterminant <ted.sybil@gmail.com>2014-11-05 02:16:41 +0800
commit0b22f4deac3541508d68dedf2e9e99a30229efe6 (patch)
tree9f140a565ac80a8e9ed430e8d22c868214dba779
parent9118b19e53b61f06266190fa80b9cf7249c4a7c0 (diff)
add a screenshot
-rw-r--r--README.rst7
-rw-r--r--screenshot.pngbin0 -> 20274 bytes
2 files changed, 5 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 8dd002f..c5c65e7 100644
--- a/README.rst
+++ b/README.rst
@@ -18,7 +18,7 @@ project nevertheless). Being different from it, this project tends to be
lightweight and simple but as extensible as it can, but in the end, should be
simple. After all, a simple task deserves a simple solution. Now the code is
written in C in a single file and highly portable. It uses "patterns" to
-generate a command once MPD state is being changed and pipe it into a
+generate a command once MPD state is being changed and pipes it into a
pre-selected shell. During the execution, it consumes few resources and imposes
little overhead.
@@ -53,7 +53,10 @@ the following command:
./mpd_trigger -e 'terminal-notifier -title "{title}: {state} ({elapsed_pct}%)" -subtitle "{artist}" -message "{album} @ {track?{track}:unknown track}" -sender com.apple.iTunes'
+.. image:: https://raw.github.com/Lokaltog/powerline/master/screenshot.png
+
Finally, it is worth mentioning that patterns can be nested, for example a part
-of the pattern in last example ``{track?{track}:unkown track}`` makes use of such technique.
+of the pattern in last example ``{track?{track}:unkown track}`` makes use of
+such technique. Have fun! :)
.. _mpd-hiss: https://github.com/ahihi/mpd-hiss
diff --git a/screenshot.png b/screenshot.png
new file mode 100644
index 0000000..829c3cd
--- /dev/null
+++ b/screenshot.png
Binary files differ