Categorygithub.com/mt-inside/dbus-spotify
repositorypackage
0.0.1
Repository: https://github.com/mt-inside/dbus-spotify.git
Documentation: pkg.go.dev

# README

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

TODO

  • Turn into a tail - there's a dbus.Monitor?