Add manual mic mute

This commit is contained in:
Jake Howard 2020-03-25 21:28:55 +00:00
parent cccf919113
commit b5cd4b47c1
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -15,6 +15,7 @@ bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ to
bindsym XF86AudioPause exec playerctl play-pause bindsym XF86AudioPause exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous bindsym XF86AudioPrev exec playerctl previous
bindsym $mod+XF86AudioMute exec --no-startup-id amixer set Capture toggle && amixer get Capture | grep '\[off\]' && notify-send "🎙 MIC OFF" || notify-send "🎙 MIC ON" # mute mic
# Brightness # Brightness
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl s +5% bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl s +5%