jitty-scripts/staticmic.sh
mollusk f08bad374c New Script: staticmic.sh: prevent apps from turnin down the mic
Former-commit-id: fccde48c408cfa972bc0b906e85b3869e0cd6915
2018-06-21 19:03:52 -07:00

9 lines
229 B
Bash
Executable File

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