summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2019-07-24 01:35:34 +0100
committerjao <jao@gnu.org>2019-07-24 01:35:34 +0100
commit9628a27e329b12085da70e0429e05aa7b6aad42a (patch)
treeb046d3f1b93da85e8f22376b9f389f2f1ec9f1a1
parentd571f0e72e337997ea7173fe92de00d6f9861ff7 (diff)
downloadxmobar-9628a27e329b12085da70e0429e05aa7b6aad42a.tar.gz
xmobar-9628a27e329b12085da70e0429e05aa7b6aad42a.tar.bz2
Paths for Plugins in readme (fixes #396)
-rw-r--r--readme.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/readme.md b/readme.md
index 2f4cdcf..6388ba5 100644
--- a/readme.md
+++ b/readme.md
@@ -1547,15 +1547,15 @@ optional ones (alias and rate):
`start` must receive a callback to be used to display the `String`
produced by the plugin. This method can be used for plugins that need
-to perform asynchronous actions. See `Plugins/PipeReader.hs` for an
-example.
+to perform asynchronous actions. See
+`src/Xmobar/Plugins/PipeReader.hs` for an example.
`run` can be used for simpler plugins. If you define only `run` the
plugin will be run every second. To overwrite this default you just
need to implement `rate`, which must return the number of tenth of
-seconds between every successive runs. See `Plugins/HelloWorld.hs` for
-an example of a plugin that runs just once, and `Plugins/Date.hs` for
-one that implements `rate`.
+seconds between every successive runs. See `examples/xmobar.hs` for an
+example of a plugin that runs just once, and
+`src/Xmobar/Plugins/Date.hs` for one that implements `rate`.
Notice that Date could be implemented as: