mt-inside / dbus-spotify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:Apache License 2.0


Languages

Language:Go 88.6%Language:Makefile 8.1%Language:Shell 3.3%