summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--changelog.md4
-rw-r--r--readme.md3
2 files changed, 6 insertions, 1 deletions
diff --git a/changelog.md b/changelog.md
index 46a0c59..267ab5c 100644
--- a/changelog.md
+++ b/changelog.md
@@ -7,6 +7,10 @@ _New features_
station (thanks to *slotThe*).
- New option `--weathers`, for `Weather` to display a default string in
case the `weather` field is not reported (thanks to *slotThe*).
+ - New template parameter `<volumestatus>` for the `Volume` plugin, combining
+ the effects of `<volume>` and `<status>`. This will show the volume
+ (possibly prefixed by `onString` or a percentage-based string) if and only
+ if the volume is not muted. Otherwise it will show the `offString`.
## Version 0.32 (December, 2019)
diff --git a/readme.md b/readme.md
index e5186f4..6e705b6 100644
--- a/readme.md
+++ b/readme.md
@@ -1182,7 +1182,8 @@ more than one battery.
Defaults to "".
- Long option: `--lows`
- Variables that can be used with the `-t`/`--template` argument:
- `volume`, `volumebar`, `volumevbar`, `volumeipat`, `dB`, `status`
+ `volume`, `volumebar`, `volumevbar`, `volumeipat`, `dB`, `status`,
+ `volumestatus`
- Note that `dB` might only return 0 on your system. This is known
to happen on systems with a pulseaudio backend.
- Default template: `Vol: <volume>% <status>`