diff --git a/lib/spotify.lua b/lib/spotify.lua index f02f0d4..3e59079 100644 --- a/lib/spotify.lua +++ b/lib/spotify.lua @@ -1,12 +1,10 @@ --- Drive spotify +-- Drive spotify through playerctl. -- Spotify uses the MPRIS D-BUS interface. See more information here: -- http://specifications.freedesktop.org/mpris-spec/latest/ -- To get the complete interface: --- mdbus2 org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 - --- Updated to use playerctl instead. +-- busctl --user introspect org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 local awful = require("awful") local dbg = dbg