volume: use internal/alsa instead of internal/volume
This commit is contained in:
parent
1d9dd719bc
commit
818bcbd0b5
@ -91,7 +91,7 @@ A compiler with C++14 support ([clang-3.4+](http://llvm.org/releases/download.ht
|
|||||||
- xcb-util-cursor *required for the `cursor-click` and `cursor-scroll` settings*
|
- xcb-util-cursor *required for the `cursor-click` and `cursor-scroll` settings*
|
||||||
|
|
||||||
**Optional dependencies for extended module support:**
|
**Optional dependencies for extended module support:**
|
||||||
- alsa-lib *required by `internal/volume`*
|
- alsa-lib *required by `internal/alsa`*
|
||||||
- libpulse *required by `internal/pulseaudio`*
|
- libpulse *required by `internal/pulseaudio`*
|
||||||
- jsoncpp *required by `internal/i3`*
|
- jsoncpp *required by `internal/i3`*
|
||||||
- libmpdclient *required by `internal/mpd`*
|
- libmpdclient *required by `internal/mpd`*
|
||||||
|
@ -76,6 +76,8 @@ namespace {
|
|||||||
} else if (name == "internal/mpd") {
|
} else if (name == "internal/mpd") {
|
||||||
return new mpd_module(bar, move(module_name));
|
return new mpd_module(bar, move(module_name));
|
||||||
} else if (name == "internal/volume") {
|
} else if (name == "internal/volume") {
|
||||||
|
throw application_error("internal/volume is deprecated, use internal/alsa instead");
|
||||||
|
} else if (name == "internal/alsa") {
|
||||||
return new volume_module(bar, move(module_name));
|
return new volume_module(bar, move(module_name));
|
||||||
} else if (name == "internal/pulseaudio") {
|
} else if (name == "internal/pulseaudio") {
|
||||||
return new pulseaudio_module(bar, move(module_name));
|
return new pulseaudio_module(bar, move(module_name));
|
||||||
|
Loading…
Reference in New Issue
Block a user