Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/leosunmo/spotify-blocklet

Spotify blocklet for i3blocks
https://github.com/leosunmo/spotify-blocklet

Last synced: about 1 month ago
JSON representation

Spotify blocklet for i3blocks

Awesome Lists containing this project

README

        

# spotify-blocklet

Displays current Artist - Song. No short text form implemented yet.
Yellow if paused.

Playing:
![Spotify-blocklet playing](/assets/playing.png?raw=true "Spotify-blocket playing")

Paused:
![Spotify-blocklet paused](/assets/paused.png?raw=true "Spotify-blocket paused")

Mouse events:
Left click - Play/Pause
Right click - Next
Middle click - Previous

These are easy to modify in `main.go`.

Spotify-blocklet listens to dbus events so should be run as a daemon in i3blocks (`interval=persist`).

## Example config
i3blocks.conf
```
# Spotify player
[spotify-blocklet]
command=/usr/share/i3blocks/spotify-blocklet
interval=persist
```

## TODO
* [ ] Mouse scroll events (Volume)
* [ ] Short text (scrolling text possible?)
* [ ] Easily configured styling from i3blocks config