|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [volume: Use '/usr/bin/env bash' as shebang](https://github.com/vivien/i3blocks-contrib/commit/cd182fd4f2e6d7e100e2aaae06c67d9905e46457#diff-210ab9e731c9c36c2c38db15c28a8d1c)
On some systems (e.g. NixOS, openBSD) Bash isn't located or symlinked at
`/bin/bash`. This change ensures that the correct path is used across
different operating systems.
* [volume: add LABEL support](https://github.com/vivien/i3blocks-contrib/commit/be3f4ae715f7a76cc54653543775a1aea6c65fff#diff-210ab9e731c9c36c2c38db15c28a8d1c)
* [volume: use injected properties](https://github.com/vivien/i3blocks-contrib/commit/50b2b6ee539cc636a303a00450909733d13dca14#diff-210ab9e731c9c36c2c38db15c28a8d1c)
See #132
* [volume: pulse-detection: explicitly try the "pulse" device](https://github.com/vivien/i3blocks-contrib/commit/777a056cce442dd4611cad9ff82ed3c21fa73ffd#diff-210ab9e731c9c36c2c38db15c28a8d1c)
Because it's available on some systems (for which pulse is the right
option), but not the default, so `amixer info` will not give the right
result. When this command succeeds, there is no more need to check the
output.
Additionally removed a wrong test bracket (not neccessary and not
working for all bash versions).
* [volume: don't check for pulse via lsmod but command](https://github.com/vivien/i3blocks-contrib/commit/67dba4fca91b6dcdc3deb00c74ed4cab1da22598#diff-210ab9e731c9c36c2c38db15c28a8d1c)
- check if command `pulseaudio` exists
- check if pulse is running
- in the case that pulse is detected, still check if the mixer name
"pulse" exists
- instruction for manual setting in README
Fixes vivien/i3blocks#236
Fixes vivien/i3blocks#201
Fixes: vivien/i3blocks#281
* [volume: allow device names to include numbers](https://github.com/vivien/i3blocks-contrib/commit/1b3efc6e44ca2a01da2fb23ac60dbfc49bdec33c#diff-210ab9e731c9c36c2c38db15c28a8d1c):
Fixes: vivien/i3blocks#281
|