1.0 KiB
1.0 KiB
Spotify widget
This widget displays currently playing song on Spotify for Linux client: 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 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,
...