bindings: add a binding to spawn pavucontrol

This commit is contained in:
Vincent Bernat 2015-10-20 09:45:13 +02:00
parent d5d723a350
commit 2dc1f56751
2 changed files with 5 additions and 0 deletions

View file

@ -74,3 +74,7 @@ end
function previous() function previous()
cmd("Previous") cmd("Previous")
end end
function mixer()
awful.util.spawn("pavucontrol")
end

View file

@ -271,6 +271,7 @@ config.keys.global = awful.util.table.join(
elseif key == "v" then music.stop() elseif key == "v" then music.stop()
elseif key == "b" then music.next() elseif key == "b" then music.next()
elseif key == "s" then music.show() elseif key == "s" then music.show()
elseif key == "m" then music.mixer()
end end
return true return true
end) end)