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
|
amixer -q set Master 10%+ unmute
|
||||||
|
|
||||||
XF86Audio{Play,Pause}
|
XF86Audio{Play,Pause}
|
||||||
mpc -q toggle
|
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
|
||||||
XF86Audio{Prev,Next}
|
XF86AudioNext
|
||||||
mpc -q {prev,next}
|
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
|
# X86Search
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue