diff options
Diffstat (limited to 'dot/local/bin/amixer-enable-mic')
-rwxr-xr-x | dot/local/bin/amixer-enable-mic | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dot/local/bin/amixer-enable-mic b/dot/local/bin/amixer-enable-mic index 9362b88..f9a09be 100755 --- a/dot/local/bin/amixer-enable-mic +++ b/dot/local/bin/amixer-enable-mic | |||
@@ -3,6 +3,15 @@ | |||
3 | SETME=${1:-100%} | 3 | SETME=${1:-100%} |
4 | SETME_BOOST=${2:-50%} | 4 | SETME_BOOST=${2:-50%} |
5 | 5 | ||
6 | amixer() | ||
7 | { | ||
8 | set -- amixer "$@" | ||
9 | if [ "$VERBOSE" ]; then | ||
10 | printf "+ %s\n" "$*" >&2 | ||
11 | fi | ||
12 | command "$@" | ||
13 | } | ||
14 | |||
6 | enable_recording() | 15 | enable_recording() |
7 | { | 16 | { |
8 | local DEV="$1" | 17 | local DEV="$1" |