Skip to content

mt-inside/dbus-spotify

Repository files navigation

dbus-spotify

Simple programme that prints info from Spotify over DBus.

Checks GitHub Issues

Go Reference

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

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