summaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-12-07 22:19:53 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-12-07 22:19:53 +0100
commit243e7618cd5e630b8f9d12f8189ff356f10ad7f9 (patch)
treebbb524b69b2da4e2076fa5efe85cfaf28b000b5f /README
parentcfa095f79f9780c62ad29a13e9000666177c9db8 (diff)
downloadxmobar-243e7618cd5e630b8f9d12f8189ff356f10ad7f9.tar.gz
xmobar-243e7618cd5e630b8f9d12f8189ff356f10ad7f9.tar.bz2
Documentation for the new "run once" commands
Diffstat (limited to 'README')
-rw-r--r--README10
1 files 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