mirror of
https://github.com/elenapan/dotfiles.git
synced 2025-12-26 15:14:58 +08:00
Use pulseaudio instead of alsa command for microphone (un)mute
This commit is contained in:
parent
ce387838d0
commit
7e7feea974
1 changed files with 1 additions and 1 deletions
|
|
@ -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"}),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue