Created
May 23, 2020 20:08
-
-
Save ZackStone/fc1365bc208c7ab9cf88a59658e74cca to your computer and use it in GitHub Desktop.
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-mute 1 toggle | |
amixer get Capture | grep '\[off\]' && \ | |
(notify-send -t 200 -a vim "MIC switched OFF" && paplay ~/Documents/Custom\ Scripts/mic-toggle/sfx-off.ogg) || \ | |
(notify-send -t 200 -a vim "MIC switched ON" && paplay ~/Documents/Custom\ Scripts/mic-toggle/sfx-on.ogg) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment