Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/manveru/polybar-spotify

Little tool to get spotify info from dbus
https://github.com/manveru/polybar-spotify

Last synced: 2 months ago
JSON representation

Little tool to get spotify info from dbus

Awesome Lists containing this project

README

        

# polybar-spotify
Little tool to get spotify info from dbus

If you're using [home-manager](https://github.com/rycee/home-manager) you can use it like this:

"module/spotify" = let
polybar-spotify = import (fetchGit {
url = "https://github.com/manveru/polybar-spotify.git";
ref = "0.2.0";
}) {};
in {
type = "custom/script";
exec = "${polybar-spotify}/bin/polybar-spotify %xesam:artist% - %xesam:title%";
tail = true;
interval = 2;
};