diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-12-07 22:19:53 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-12-07 22:19:53 +0100 |
commit | 243e7618cd5e630b8f9d12f8189ff356f10ad7f9 (patch) | |
tree | bbb524b69b2da4e2076fa5efe85cfaf28b000b5f | |
parent | cfa095f79f9780c62ad29a13e9000666177c9db8 (diff) | |
download | xmobar-243e7618cd5e630b8f9d12f8189ff356f10ad7f9.tar.gz xmobar-243e7618cd5e630b8f9d12f8189ff356f10ad7f9.tar.bz2 |
Documentation for the new "run once" commands
-rw-r--r-- | README | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 |