Added mute/unmute microphone shortcut
This commit is contained in:
parent
d25a7a9c33
commit
acc0b51e1a
8
mute_unmute_microphone.sh
Normal file
8
mute_unmute_microphone.sh
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
# Copy this directly into the gnome shortcut manager.
|
||||
# Depends: alsa-utils
|
||||
#
|
||||
# Name: Mute/Unmute Microphone
|
||||
|
||||
bash -c "notify-send \"Microphone\" \"The microphone is now `amixer set Capture toggle | grep \"Front\" | tail -n 1 | sed -e 's/.*\[\(.*\)\]/\1/'`.\"
|
||||
--hint int:transient:1 --icon=file:///usr/share/icons/Adwaita/scalable/devices/audio-input-microphone-symbolic.svg"
|
Loading…
Reference in New Issue
Block a user