diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-12-17 15:08:46 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-12-17 15:09:10 +0100 |
commit | 216009575ce3a3aec405727f92c53cd75697abd2 (patch) | |
tree | a8d56e63f5bddac51ae8cc29c5a860bfa9b445b4 /README | |
parent | 3b49df5e2819874296f5b2206edd00cd4a8c21aa (diff) | |
download | xmobar-216009575ce3a3aec405727f92c53cd75697abd2.tar.gz xmobar-216009575ce3a3aec405727f92c53cd75697abd2.tar.bz2 |
Doc updates regarding Batt changes
Diffstat (limited to 'README')
-rw-r--r-- | README | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -426,8 +426,8 @@ Monitors have default aliases. `BatteryP Dirs Args RefreshRate` - Aliases to `battery` -- Dirs: list of directories in `/sys/class/power/` directory where to - look for the `state` and `info` files. Example: +- Dirs: list of directories in `/sys/class/power_supply/` where to + look for the `state` and `info` files of each battery. Example: `["BAT0","BAT1","BAT2"]`. Only the first 3 directories will be searched. - Args: default monitor arguments (see below), plus the following specif ones: @@ -441,9 +441,6 @@ Monitors have default aliases. - `-p`: color to display positive power (battery charging) - `-f`: file in `/sys/class/power_supply` with AC info (default: "AC/online") - - `-c`: file in `/sys/class/power/<BAT>/` with full charge - information (default: "charge_full"; for instance, olpc systems - use "charge_full_design") - Variables that can be used with the `-t`/`--template` argument: `left`, `leftbar`, `timeleft`, `watts`, `acstatus` @@ -456,8 +453,7 @@ Monitors have default aliases. "-L", "10", "-H", "80", "-p", "3", "--", "-O", "<fc=green>On</fc> - ", "-o", "", "-L", "-15", "-H", "-5", - "-l", "red", "-m", "blue", "-h", "green", - "-c", "charge_full_design"] + "-l", "red", "-m", "blue", "-h", "green"] 600 In the above example, the thresholds before the "--" separator refer to the `<left>` field, while those after the separator affect |