mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-29 15:24:29 +02:00
music: add the possibility to raise music player
This commit is contained in:
parent
58adbac8dd
commit
4d42414855
2 changed files with 7 additions and 0 deletions
|
@ -35,3 +35,9 @@ end
|
|||
function previous()
|
||||
spotify("Previous")
|
||||
end
|
||||
|
||||
function show()
|
||||
-- This should work, but no:
|
||||
-- spotify("Raise")
|
||||
awful.util.spawn("spotify")
|
||||
end
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue