Last active
January 7, 2023 01:26
-
-
Save dcode/c5b7e6285e29a278933bcbab36783acf to your computer and use it in GitHub Desktop.
On Fedora 36 with Pipewire and Wayland, this will toggle the media pipeline mute for the Zoom mic input. Unfortunately, it doesn't toggle the "mute" state within Zoom, but at least the mic is cut off.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pactl set-source-output-mute "$( \ | |
pactl list source-outputs | \ | |
perl -ne '/^Source Output #(\d+)/ && { $sourceid=$1 }; /^\s+node.name = \"ZOOM VoiceEngine\"/ && print $sourceid;'\ | |
)" toggle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adapted from https://stackoverflow.com/a/71467971/6654930