diff --git a/staticmic.sh b/staticmic.sh new file mode 100755 index 0000000..7ce1179 --- /dev/null +++ b/staticmic.sh @@ -0,0 +1,8 @@ +#!/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