The following packages need to be installed:
- alsa-utils
- Open a Terminal and run
git clone https://github.com/amller/alsa-mic-toggle. - Open Settings and go to Keyboard -> Keyboard Shortcuts -> View and Customize Shortcuts -> Custom Shortcuts
- Create a new Shortcut which executes the following command:
sh <absolute path to cloned repo>/mic-toggle.sh