From d113286e0e0d3b91fe357b3d755fe02a497a0c66 Mon Sep 17 00:00:00 2001 From: Mollusk Date: Thu, 29 Oct 2026 14:59:00 -0400 Subject: [PATCH] staticmic.sh: use pactl instead of pacmd Co-Authored-By: Claude Opus 5.5 --- staticmic.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/staticmic.sh b/staticmic.sh index 555176a..15f6c18 100755 --- a/staticmic.sh +++ b/staticmic.sh @@ -1,11 +1,11 @@ #!/bin/sh # Run the following command to find your input device -# $ pacmd list-sources | grep name +# $ pactl list short sources LEVELS="30000" -INPUTDEVICE="alsa_input.pci-0000_00_1b.0.analog-stereo ${LEVELS}" +INPUTDEVICE="alsa_input.pci-0000_00_1b.0.analog-stereo" echo "Keeping Mic Level Static" while sleep 0.1;do - pacmd set-source-volume ${INPUTDEVICE} + pactl set-source-volume "${INPUTDEVICE}" "${LEVELS}" done