Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/leosunmo/spotify-blocklet
- Owner: leosunmo
- Created: 2019-06-28T10:13:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-17T08:19:25.000Z (over 5 years ago)
- Last Synced: 2025-01-04T04:42:05.899Z (about 1 month ago)
- Language: Go
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 - PreviousThese 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