music: add the possibility to raise music player

This commit is contained in:
Vincent Bernat 2013-11-01 15:53:35 +01:00
parent 58adbac8dd
commit 4d42414855
2 changed files with 7 additions and 0 deletions

View file

@ -35,3 +35,9 @@ end
function previous()
spotify("Previous")
end
function show()
-- This should work, but no:
-- spotify("Raise")
awful.util.spawn("spotify")
end

View file

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