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 | |
parent | 3b49df5e2819874296f5b2206edd00cd4a8c21aa (diff) | |
download | xmobar-216009575ce3a3aec405727f92c53cd75697abd2.tar.gz xmobar-216009575ce3a3aec405727f92c53cd75697abd2.tar.bz2 |
Doc updates regarding Batt changes
-rw-r--r-- | NEWS | 14 | ||||
-rw-r--r-- | README | 10 |
2 files changed, 13 insertions, 11 deletions
@@ -1,10 +1,16 @@ % xmobar - Release notes -% Jose A. Ortega Ruiz -## Version 0.14.1 (Dec 11, 2011) +## Version 0.15 -A quick upgrade to 0.14 (which see) with more precise versions for -build dependencies. +_Incompatible changes_ + + - `Batt` monitor no longer uses `-c` to specify the charge file: it + should figure things out by itself. + +_Bug fixes_ + + - Stricter build dependencies versioning in cabal file. + - [issue 64]: display of `watts` in `Batt` monitor fixed. ## Version 0.14 (Dec 10, 2011) @@ -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 |