From 78fa8e629da7ea64ed54a2a8d6d08857b83e4324 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Wed, 1 Feb 2017 22:15:19 -0500 Subject: spotify readme --- spotify-widget/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 spotify-widget/README.md (limited to 'spotify-widget/README.md') diff --git a/spotify-widget/README.md b/spotify-widget/README.md new file mode 100644 index 0000000..4d8f4b9 --- /dev/null +++ b/spotify-widget/README.md @@ -0,0 +1,22 @@ +# Spotify widget + +This widget displays currently playing song on [Spotify for Linux](https://www.spotify.com/download/linux/) client: ![screenshot](./spo-wid-1.png). + +Note that widget uses the Arc icon theme, so it should be [installed](https://github.com/horst3180/arc-icon-theme#installation) 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](http://pavelmakhov.com/2016/02/awesome-wm-spotify) + +To use this widget put **spotify.lua** under **~/.config/awesome/** and add it in **rc.lua**: + +```lua +require("spotify") +... +s.mytasklist, -- Middle widget + { -- Right widgets + layout = wibox.layout.fixed.horizontal, + ... + spotify_widget, + ... +``` -- cgit v1.2.3