jitty-scripts/staticmic.sh
mollusk dad9234690 staticmic.sh: Change volume preset
Former-commit-id: 0ac0d2c490893cee641a251225657232aaf264e6
2018-06-21 22:29:46 -07:00

12 lines
280 B
Bash
Executable File

#!/bin/sh
# Run the following command to find your input device
# $ pacmd list-sources | grep name
LEVELS="40000"
INPUTDEVICE="alsa_input.pci-0000_00_1b.0.analog-stereo ${LEVELS}"
echo "Keeping Mic Level Static"
while sleep 0.1;do
pacmd set-source-volume ${INPUTDEVICE}
done