9 lines
229 B
Bash
9 lines
229 B
Bash
|
#!/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
|