Update spotify.lua

This commit is contained in:
streetturtle 2017-03-31 22:11:09 -04:00 committed by GitHub
parent d2632b5c75
commit 5d07f91072
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ local watch = require("awful.widget.watch")
spotify_widget = wibox.widget.textbox() spotify_widget = wibox.widget.textbox()
spotify_widget:set_font('Play 9') spotify_widget:set_font('Play 9')
spotify_widget:connect_signal("button::release", function() awful.spawn('sp play'); end)
-- optional icon, could be replaced by spotfiy logo (https://developer.spotify.com/design/) -- optional icon, could be replaced by spotfiy logo (https://developer.spotify.com/design/)
spotify_icon = wibox.widget.imagebox() spotify_icon = wibox.widget.imagebox()