We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2650676 commit 5358c40Copy full SHA for 5358c40
spotify-widget/spotify.lua
@@ -77,7 +77,7 @@ local function worker(user_args)
77
},
78
layout = wibox.layout.align.horizontal,
79
set_status = function(self, is_playing)
80
- self.icon.image = (is_playing and play_icon or pause_icon)
+ self:get_children_by_id('icon')[1]:set_image(is_playing and play_icon or pause_icon)
81
if dim_when_paused then
82
self:get_children_by_id('icon')[1]:set_opacity(is_playing and 1 or dim_opacity)
83
0 commit comments