12 lines
276 B
Bash
Executable File
12 lines
276 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Run the following command to find your input device
|
|
# $ pactl list short sources
|
|
LEVELS="30000"
|
|
INPUTDEVICE="alsa_input.pci-0000_00_1b.0.analog-stereo"
|
|
|
|
echo "Keeping Mic Level Static"
|
|
while sleep 0.1;do
|
|
pactl set-source-volume "${INPUTDEVICE}" "${LEVELS}"
|
|
done
|