awesome-wm-widgets/spotify-widget
streetturtle 8f8b5588ae Update README.md 2017-03-31 22:12:36 -04:00
..
README.md Update README.md 2017-03-31 22:12:36 -04:00
spo-wid-1.png spotify readme 2017-02-01 22:15:19 -05:00
spotify.lua Update spotify.lua 2017-03-31 22:11:09 -04:00

README.md

Spotify widget

This widget displays currently playing song on Spotify for Linux client: screenshot.

If clicked plays/pauses the music.

Note that widget uses the Arc icon theme, so it should be installed first under /usr/share/icons/Arc/ folder.

Installation

First you need to have spotify CLI installed. Here is how you can do it (except widget part): pavelmakhov.com/2016/02/awesome-wm-spotify

To use this widget put spotify.lua under ~/.config/awesome/ and add it in rc.lua:

require("spotify")
...
s.mytasklist, -- Middle widget
	{ -- Right widgets
    	layout = wibox.layout.fixed.horizontal,
		...
        spotify_widget,
		...