awesome-wm-widgets/spotify-widget
streetturtle 4a01ecbb03
Update README.md
2018-01-06 19:08:40 -05:00
..
README.md Update README.md 2018-01-06 19:08:40 -05:00
spo-wid-1.png update picture 2017-06-22 09:16:47 -04:00
spotify.lua use dbus to check is spotify is playing 2017-12-02 13:50:14 -05:00

README.md

Spotify widget

This widget displays currently playing song on Spotify for Linux client: screenshot and consists of two parts:

  • status icon which shows if music is currently playing
  • artist and name of the current song playing

Controls

  • left click - play/pause
  • scroll up - play next song
  • scroll down - play previous song

Dependencies

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 clone repo under ~/.config/awesome/ and then add it in rc.lua:

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