I can't remember if I made it, stole it or both, but this is my ugly workaround for pulse audio
calling paMuteToggle() doest what you'd expect.
With no parameters changes all the sinks to the opposite state of the
first sink.
You can use a sink as an argument.
HOW TO USE IT:
require("pamute")
[...]
awful.key({ }, "XF86AudioMute",function () paMuteToggle() end ),
pamute.lua attached.
pamute.lua
Description: Binary data
