diff options
author | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2008-03-16 17:01:15 +0100 |
---|---|---|
committer | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2008-03-16 17:01:15 +0100 |
commit | 7a7e4aa53317e8bba1c6781e65ec8274c1e58524 (patch) | |
tree | 0343eaadb69617e56099546dc397162b6d7d2460 /Commands.hs | |
parent | d777ba363bd49f6c2839979b2a49921632039e50 (diff) | |
download | xmobar-7a7e4aa53317e8bba1c6781e65ec8274c1e58524.tar.gz xmobar-7a7e4aa53317e8bba1c6781e65ec8274c1e58524.tar.bz2 |
Add BatteryP a monitor for batteries
With this monitor is possible to set specific location where to
retrieve battery information.
For example:
Run BatteryP ["BAT0","BAT1","BAT2"] [] 10
this will read the following files:
/proc/acpi/battery/BAT0/info and /proc/acpi/battery/BAT0/state
/proc/acpi/battery/BAT1/info and /proc/acpi/battery/BAT1/state
/proc/acpi/battery/BAT1/info and /proc/acpi/battery/BAT2/state
darcs-hash:20080316160115-d6583-efd35abf7a6a1a40fcb5f97ec430783f40b3221d.gz
Diffstat (limited to 'Commands.hs')
0 files changed, 0 insertions, 0 deletions