summaryrefslogtreecommitdiffhomepage
path: root/readme.md
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2013-05-26 05:45:30 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2013-05-26 05:45:30 +0200
commitb8279eccf85b3709ccce0533846a10fb613a10f4 (patch)
treebb5be7eddbc259084406212f8167ac73627b45df /readme.md
parent2e228c10e7ca6551820c319ca1f1e575c1e72ee1 (diff)
downloadxmobar-b8279eccf85b3709ccce0533846a10fb613a10f4.tar.gz
xmobar-b8279eccf85b3709ccce0533846a10fb613a10f4.tar.bz2
Allowing template variables in Battery's -O and -o args
Should address github issue #109. Thanks to Todd Lunter for the suggestion.
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index 013f9d6..6055f56 100644
--- a/readme.md
+++ b/readme.md
@@ -764,6 +764,16 @@ something like:
neither the generic nor the specific options have any effect on
`<timeleft>`.
+ It is also possible to specify template variables in the `-O` and
+ `-o` switches, as in the following example:
+
+ Run BatteryP ["BAT0"]
+ ["-t", "<acstatus>"
+ , "-L", "10", "-H", "80"
+ , "-l", "red", "-h", "green"
+ , "--", "-O", "Charging", "-o", "Battery: <left>%"
+ ] 10
+
### `TopProc Args RefreshRate`
- Aliases to `top`