jitty-scripts/staticmic.sh
mollusk aa843ca687 staticmic.sh: lower volume default
Former-commit-id: 36f2393e4181419b4cc1b298dd40d85de2b6312e
Former-commit-id: 0b37116d8d516b0b1a94f68b2a797987250c50a8
2018-11-07 00:24:59 -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="30000"
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