spotify on linux
1. getting pause play to work
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
add to sxhkd config
XF86AudioPlay dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
- find key name with
xev
- reload sxhkd config
pkill -usr1 -x sxhkd; notify-send 'sxhkd' 'Reloaded config'