summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdot/local/bin/amixer-enable-mic9
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 @@
3SETME=${1:-100%} 3SETME=${1:-100%}
4SETME_BOOST=${2:-50%} 4SETME_BOOST=${2:-50%}
5 5
6amixer()
7{
8 set -- amixer "$@"
9 if [ "$VERBOSE" ]; then
10 printf "+ %s\n" "$*" >&2
11 fi
12 command "$@"
13}
14
6enable_recording() 15enable_recording()
7{ 16{
8 local DEV="$1" 17 local DEV="$1"