summaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2011-01-04 21:35:13 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2011-01-04 21:35:13 +0100
commit65bead03bb04256ae2001f6c1d2388b476057ec3 (patch)
tree107196248358a51a55d9068783ab9e1c10cb4a20 /README
parent6e96535bedfa86e5b8a5bb59e70dac69207af02a (diff)
downloadxmobar-65bead03bb04256ae2001f6c1d2388b476057ec3.tar.gz
xmobar-65bead03bb04256ae2001f6c1d2388b476057ec3.tar.bz2
Battery: support for non-standard locations of AC/online (issue 36)
We provied a new monitor-specific flag (-f) to specify the location of the file.
Diffstat (limited to 'README')
-rw-r--r--README1
1 files changed, 1 insertions, 0 deletions
diff --git a/README b/README
index 44660f5..7655709 100644
--- a/README
+++ b/README
@@ -435,6 +435,7 @@ Monitors have default aliases.
- `-m`: color to display power lower than the `-H` threshold
- `-h`: color to display power highter than the `-H` threshold
- `-p`: color to display positive power (battery charging)
+ - `-f`: file `/sys/class/power_supply` with AC info (default: AC/online)
- Variables that can be used with the `-t`/`--template` argument:
`left`, `leftbar`, `timeleft`, `watts`, `acstatus`
- Default template: `Batt: <watts>, <left>% / <timeleft>`