Skip to content

akshat46/spawtify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spawtify

A spotify widget for awesome-wm.

screenshot

Usage

Clone the repository in your config file with:

git clone https://github.com/akshat46/spawtify.git

And add following code to your rc.lua:

local spawtify = require("spawtify/spotify_widget")

awful.screen.connect_for_each_screen(function(s)
  ...
  spawtify.widget({
        screen = s, --required
        artwork = true,
    })
  ...
end

Customization

Screen parameter is required. Rest optional parameters are:

spawtify.widget({
  screen = s, --required
  artwork = true, --show artwork
  width = 460, 
  height = 600,
  bg = "#000000", -- background color
  bottom_margin = 225, --[[widget's margin from the bottom edge of 
  the screen (will definitely change later on) ]]--
})

Note: Currently the widget can only be moved to right edge of the screen. Will add more options once I get time.

Icons

All the icons can be changed using following theme variables.

theme.spotify_play_button_icon
theme.spotify_pause_button_icon
theme.spotify_prev_button_icon
theme.spotify_next_button_icon
theme.spotify_icon
theme.spotify_error_icon

About

A spotify widget for awesome-wm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published