summaryrefslogtreecommitdiff
path: root/dot
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2018-07-27 10:56:34 -0400
committerAndrew Cady <d@jerkface.net>2018-07-27 10:56:34 -0400
commitcd530b56afc9732cd8cbbdb6e3a116c892ebdd64 (patch)
tree3082e8a92846b0d3300ab3264747b854533a4304 /dot
parent191034467f9ff8b649b6c659243d33d35e69f889 (diff)
amixer-enable-mic: optional verbosity
Diffstat (limited to 'dot')
-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"