Update spotify.lua
This commit is contained in:
parent
d2632b5c75
commit
5d07f91072
|
@ -4,6 +4,7 @@ local watch = require("awful.widget.watch")
|
|||
|
||||
spotify_widget = wibox.widget.textbox()
|
||||
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/)
|
||||
spotify_icon = wibox.widget.imagebox()
|
||||
|
@ -14,4 +15,4 @@ watch(
|
|||
function(widget, stdout, stderr, exitreason, exitcode)
|
||||
spotify_widget:set_text(stdout)
|
||||
end
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue