From cb731567a25622c54a146a24059acb4fd58e2a5b Mon Sep 17 00:00:00 2001 From: elenapan Date: Sat, 18 Apr 2020 23:32:10 +0300 Subject: [PATCH] Fix mpd decorations notification icon not being recolored on click --- config/awesome/decorations/mpd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/awesome/decorations/mpd.lua b/config/awesome/decorations/mpd.lua index ea94141..8b80584 100644 --- a/config/awesome/decorations/mpd.lua +++ b/config/awesome/decorations/mpd.lua @@ -228,7 +228,7 @@ local notifications_symbol = "" local notifications_button notifications_button = control_button(c, notifications_symbol, notifications.mpd.enabled and notifications_color or disabled_color, dpi(30), function() notifications.mpd.toggle() - local text = notifications_button:get_all_children()[1] + local text = notifications_button:get_all_children()[1]:get_all_children()[1] text.markup = helpers.colorize_text(notifications_symbol, notifications.mpd.enabled and notifications_color or disabled_color) end)