From 243e7618cd5e630b8f9d12f8189ff356f10ad7f9 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Tue, 7 Dec 2010 22:19:53 +0100 Subject: Documentation for the new "run once" commands --- README | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README b/README index 7788d68..ac76ac6 100644 --- a/README +++ b/README @@ -569,14 +569,18 @@ option list with the Com template command: - ProgramName: the name of the program - Args: the arguments to be passed to the program at execution time +- RefreshRate: number of tenths of second between re-runs of the + command. A zero or negative rate means that the command will be + executed only once. - Alias: a name to be used in the template. If the alias is en empty string the program name can be used in the template. -Es: +E.g.: - Run Com "uname" ["-s","-r"] "" 36000 + Run Com "uname" ["-s","-r"] "" 0 -can be used in the output template as `%uname%` +can be used in the output template as `%uname%` (and xmobar will call +_uname_ only once), while Run Com "date" ["+\"%a %b %_d %H:%M\""] "mydate" 600 -- cgit v1.2.3