diff options
author | Daniel Schüssler <933504+DanielSchuessler@users.noreply.github.com> | 2018-08-25 23:57:07 +0200 |
---|---|---|
committer | Daniel Schüssler <933504+DanielSchuessler@users.noreply.github.com> | 2018-10-06 19:52:44 +0200 |
commit | 6d20569d5b9b7f7f408d9e05ee9aee370f9e58dc (patch) | |
tree | 38c23b7c7d8f41f6ad620238ada55c14ea7e68ca /readme.md | |
parent | a6b2dfc9c9b76fd6a9ec22d71d03b27d9b7689bb (diff) | |
download | xmobar-6d20569d5b9b7f7f408d9e05ee9aee370f9e58dc.tar.gz xmobar-6d20569d5b9b7f7f408d9e05ee9aee370f9e58dc.tar.bz2 |
Add event-based refreshing for Volume plugin (--monitor option)
This uses alsactl monitor for push/event-based updating instead of
polling.
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1063,6 +1063,14 @@ more than one battery. - `--highd` _number_ High threshold for dB. Defaults to -5.0. - `--lowd` _number_ Low threshold for dB. Defaults to -30.0. - `--volume-icon-pattern` _string_ dynamic string for current volume in `volumeipat`. + - `--monitor[=/path/to/alsactl]` + - Use event-based refreshing via `alsactl monitor` instead of polling + (`RefreshRate` will be ignored). + - If no `/path/to/alsactl` is given, `alsactl` will be sought in your `PATH` + first, and failing that, at `/usr/sbin/alsactl` (this is its location on + Debian systems. `alsactl monitor` works as a non-root user despite living + in `/usr/sbin`.). + - `stdbuf` (from coreutils) must be (and most probably already is) in your `PATH`. - Variables that can be used with the `-t`/`--template` argument: `volume`, `volumebar`, `volumevbar`, `volumeipat`, `dB`, `status` - Note that `dB` might only return 0 on your system. This is known |