summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2011-01-13 13:16:55 -0600
committerThomas Tuegel <ttuegel@gmail.com>2011-01-13 13:16:55 -0600
commit0d9c121385d428d0b9ba82aa956ca5123e395f09 (patch)
tree6c6afc092aa7f1248bd39823a9c981571cffdc43
parentd444ebca849d77eec58243f800f0f675e1469dc8 (diff)
downloadxmobar-0d9c121385d428d0b9ba82aa956ca5123e395f09.tar.gz
xmobar-0d9c121385d428d0b9ba82aa956ca5123e395f09.tar.bz2
Updated README for improved volume monitor.
-rw-r--r--README22
1 files changed, 19 insertions, 3 deletions
diff --git a/README b/README
index 1e300bb..9b608a1 100644
--- a/README
+++ b/README
@@ -623,10 +623,26 @@ Monitors have default aliases.
`Volume Mixer Element Args RefreshRate`
- Aliases to the mixer name and element name separated by a colon. Thus,
- `Volume "default" "Master" [] 10` can be used as `%default:Master`.
-- Args: default monitor arguments (see below)
+ `Volume "default" "Master" [] 10` can be used as `%default:Master%`.
+- Args: default monitor arguments (see below). Also accepts:
+ - `-O` _string_ On string
+ - The string used in place of `<status>` when the mixer element
+ is on.
+ - Long option: `--on`
+ - `-o` _string_ Off string
+ - The string used in place of `<status>` when the mixer element
+ is off.
+ - Long option: `--off`
+ - `-C` _color_ On color
+ - The color to be used for `<status>` when the mixer element is on.
+ - Long option: `--onc`
+ - `-c` _color_ Off color
+ - The color to be used for `<status>` when the mixer element is off.
+ - Long option: `--offc`
+ - `--highd` _number_ High threshold for dB
+ - `--lowd` _number_ Low threshold for dB
- Variables that can be used with the `-t`/`--template` argument:
- `vol`, `db`, `on`, `off`
+ `vol`, `dB`, `status`
- Default template: `Vol: <volume>% <fc=green><on></fc><fc=red><off></fc>`
- Requires the package [alsa-mixer] installed in your system. In addition,
to activate this plugin you must pass `--flags="with_alsa"` during