sxhkd: change keys to control official spotify client

Since spotifyd's dbus interface doesn't work.
This commit is contained in:
Henrik Lissner 2019-12-13 03:05:26 -05:00
parent cee6c5a655
commit 7a9a2a7ef2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -78,11 +78,11 @@ XF86AudioRaiseVolume
amixer -q set Master 10%+ unmute amixer -q set Master 10%+ unmute
XF86Audio{Play,Pause} XF86Audio{Play,Pause}
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotifyd /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
XF86AudioNext XF86AudioNext
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotifyd /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
XF86AudioPrev XF86AudioPrev
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotifyd /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
# X86Search # X86Search