MiksuR / spot-on

Spotify Plugin for Polybar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spot-on

Spotify plugin for Polybar based on PrayagS/polybar-spotify.

Features

  • Comes in a standalone binary
  • Light-weight
  • Updates asynchronously instead of polling Spotify constantly
  • Text scrolling
  • Written in Haskell

Installation

You can find the spot-on binary in releases.

Include the following modules in your config.ini:

[module/spot-on]
type = custom/script
tail = true
interval = 0.5
format-prefix = "<spotify-logo> "
format = <label>
format-padding = 1
exec = bash -c "~/.config/polybar/spot-on scroll & wait"

[module/spot-on-previous]
type = custom/script
exec = echo "<previous-icon>"
format = <label>
format-padding = 1
click-left = ~/.config/polybar/spot-on previous

[module/spot-on-playpause]
type = custom/ipc
hook-0 = echo "<play-icon>"
hook-1 = echo "<pause-icon>"
format-padding = 1
initial = 1
click-left = ~/.config/polybar/spot-on playpause

[module/spot-on-next]
type = custom/script
exec = echo "<next-icon>"
format = <label>
format-padding = 1
click-left = ~/.config/polybar/spot-on next

Contributing

I am open to pull requests. Please, write any feature suggestions in issues.

About

Spotify Plugin for Polybar

License:Other


Languages

Language:Haskell 100.0%