mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-02-03 19:48:06 +08:00
Fix some mpd decoration buttons not being recolored
This commit is contained in:
parent
5547660f11
commit
9ad88a60d1
1 changed files with 2 additions and 2 deletions
|
|
@ -204,8 +204,8 @@ local loop_button = control_button(c, loop_symbol, loop_color, dpi(30), function
|
|||
awful.spawn.with_shell("mpc repeat")
|
||||
end)
|
||||
|
||||
local loop_textbox = loop_button:get_all_children()[1]
|
||||
local random_textbox = random_button:get_all_children()[1]
|
||||
local loop_textbox = loop_button:get_all_children()[1]:get_all_children()[1]
|
||||
local random_textbox = random_button:get_all_children()[1]:get_all_children()[1]
|
||||
|
||||
local disabled_color = x.color8
|
||||
-- Update loop and random button colors based on their state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue