Revert "spotify: try to support the new version of Spotify"

This reverts commit 6c8985a9ae. Well, keep
old version of Spotify until MPRIS DBus support is updated.
This commit is contained in:
Vincent Bernat 2015-07-12 21:26:41 +02:00
parent 6c8985a9ae
commit 93a5cf16ba
3 changed files with 47 additions and 60 deletions

View file

@ -22,7 +22,8 @@ case "$1" in
;;
lock)
# First, stop Spotify
xdotool key XF86AudioPause
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify \
/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause
# Then, lock screen
i3lock_options="-e -i $HOME/.cache/awesome/current-wallpaper.png -t"
echo "$(date --rfc-3339=seconds) $me: lock: lock screen"