Use pulseaudio instead of alsa command for microphone (un)mute

This commit is contained in:
elenapan 2020-09-27 00:55:13 +03:00
parent ce387838d0
commit 7e7feea974

View file

@ -408,7 +408,7 @@ keys.globalkeys = gears.table.join(
-- Microphone (V for voice)
awful.key( { superkey }, "v",
function()
awful.spawn.with_shell("amixer -D pulse sset Capture toggle &> /dev/null")
awful.spawn.with_shell("pactl set-source-mute @DEFAULT_SOURCE@ toggle")
end,
{description = "(un)mute microphone", group = "volume"}),