diff options
Diffstat (limited to 'doc/write-your-own-plugin.org')
-rw-r--r-- | doc/write-your-own-plugin.org | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/write-your-own-plugin.org b/doc/write-your-own-plugin.org index d558e40..a877ad8 100644 --- a/doc/write-your-own-plugin.org +++ b/doc/write-your-own-plugin.org @@ -23,8 +23,8 @@ 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 [[https://github.com/jaor/xmobar/blob/master/examples/xmobar.hs][examples/xmobar.hs]] for an example of -a plugin that runs just once, and [[https://github.com/jaor/xmobar/blob/master/src/Xmobar/Plugins/Date.hs][src/Xmobar/Plugins/Date.hs]] for one +between every successive runs. See [[../examples/xmobar.hs][examples/xmobar.hs]] for an example of +a plugin that runs just once, and [[../src/Xmobar/Plugins/Date.hs][src/Xmobar/Plugins/Date.hs]] for one that implements =rate=. Notice that Date could be implemented as: |