summaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2011-01-15 00:04:07 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2011-01-15 00:04:07 +0100
commitd1675af6f9749e12113d6bf957f920682e7fd91d (patch)
tree4c71d49ebb1c0260d6b127475a35622e1f3c9f66 /README
parent3c9b2b38bd216e2d308f3b00cf7baee52266b1be (diff)
parentce23b849f7aff963a1e6a84da5281b6a4aaff241 (diff)
downloadxmobar-d1675af6f9749e12113d6bf957f920682e7fd91d.tar.gz
xmobar-d1675af6f9749e12113d6bf957f920682e7fd91d.tar.bz2
Merge branch 'ttuegel-master'
Diffstat (limited to 'README')
-rw-r--r--README33
1 files changed, 33 insertions, 0 deletions
diff --git a/README b/README
index b83a7f0..2174334 100644
--- a/README
+++ b/README
@@ -120,6 +120,10 @@ Otherwise, you'll need to install them yourself.
headers in your system (e.g., install `libiw-dev` in Debian-based
systems).
+`with_alsa`
+: Support for ALSA sound cards. Enables the Volume plugin. Requires the
+ [alsa-mixer] package.
+
`all_extensions`
: Enables all the extensions above.
@@ -616,6 +620,34 @@ Monitors have default aliases.
Run MBox [("I ", "inbox", "red"), ("O ", "~/foo/mbox", "")]
["-d", "/var/mail/", "-p", " "] "mbox"
+`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). 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:
+ `volume`, `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
+ compilation.
+
`XPropertyLog PropName`
- Aliases to `PropName`
@@ -998,3 +1030,4 @@ Copyright &copy; 2010 Jose Antonio Ortega Ruiz
[libmpd]: http://hackage.haskell.org/package/libmpd/
[sawfish]: http://sawfish.wikia.com/
[utf8-string]: http://hackage.haskell.org/package/utf8-string/
+[alsa-mixer]: http://hackage.haskell.org/package/alsa-mixer