From 9628a27e329b12085da70e0429e05aa7b6aad42a Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 24 Jul 2019 01:35:34 +0100 Subject: Paths for Plugins in readme (fixes #396) --- readme.md | 10 +++++----- 1 file 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: -- cgit v1.2.3