sxhkd: bind media keys to spotify

This commit is contained in:
Henrik Lissner 2019-11-17 23:11:54 -05:00
parent 46d22fafc9
commit a024e3cde1
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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