From ceeebe04a619402095c177d4b224a2df35e1da25 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 10 Jul 2022 01:53:53 +0100 Subject: Links to new repo in codeberg --- doc/write-your-own-plugin.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/write-your-own-plugin.org') 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: -- cgit v1.2.3