Awesome
dbus-spotify
Simple programme that prints info from Spotify over DBus.
Setup
- Download
dbus-spotity
,chmod 0755
, and enjoy!- Or, with the go toolchain installed, build it manually with
go get github.com/mt-inside/dbus-sportify
- Or, with the go toolchain installed, build it manually with
Example
Manual Execution
$ ./dbus-spotify summary
[Lorna Shore] Void
Polybar Config
[module/spotify]
type = custom/script
exec = dbus-spotify summary 2> .local/share/polybar/script-dbus-spotify.log
interval = 2
click-left = dbus-spotify prev
click-middle = dbus-spotify playpause
click-right = dbus-spotify next