From 63303977071f34d8142709960e8dae97cea1951e Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 9 Aug 2022 23:48:44 +0100 Subject: examples -> etc --- doc/using-haskell.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/using-haskell.org') diff --git a/doc/using-haskell.org b/doc/using-haskell.org index 667ab4d..4020557 100644 --- a/doc/using-haskell.org +++ b/doc/using-haskell.org @@ -75,7 +75,7 @@ =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 [[../examples/xmobar.hs][examples/xmobar.hs]] for an example of a plugin + every successive runs. See [[../etc/xmobar.hs][etc/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=. @@ -114,7 +114,7 @@ To use your new plugin, you just need to use a pure Haskell configuration for xmobar (as explained [[#xmobar-in-haskell][above]]) and load your definitions in your =xmobar.hs= - file. You can see an example in [[../examples/xmobar.hs][examples/xmobar.hs]] showing you how to write + file. You can see an example in [[../etc/xmobar.hs][etc/xmobar.hs]] showing you how to write a Haskell configuration that uses a new plugin, all in one file. When xmobar runs with the full path to that Haskell file as its argument -- cgit v1.2.3