sxhkd: bind media keys to spotify
This commit is contained in:
parent
46d22fafc9
commit
a024e3cde1
|
@ -72,9 +72,11 @@ XF86AudioRaiseVolume
|
|||
amixer -q set Master 10%+ unmute
|
||||
|
||||
XF86Audio{Play,Pause}
|
||||
mpc -q toggle
|
||||
XF86Audio{Prev,Next}
|
||||
mpc -q {prev,next}
|
||||
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
|
||||
XF86AudioNext
|
||||
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
|
||||
XF86AudioPrev
|
||||
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
|
||||
|
||||
# X86Search
|
||||
|
||||
|
|
Loading…
Reference in a new issue