mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-01-26 18:27:13 +08:00
Fix mpd decorations notification icon not being recolored on click
This commit is contained in:
parent
49410df32f
commit
cb731567a2
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue