mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Try menu_* colors before regular normal/focus (#949)
This commit is contained in:
parent
547fec2824
commit
8ff60f034f
1 changed files with 2 additions and 2 deletions
|
@ -102,9 +102,9 @@ end
|
|||
-- @return item name, item background color, background image, item icon.
|
||||
local function label(o)
|
||||
if o.focused then
|
||||
return colortext(o.name, theme.fg_focus), theme.bg_focus, nil, o.icon
|
||||
return colortext(o.name, (theme.menu_fg_focus or theme.fg_focus)), (theme.menu_bg_focus or theme.bg_focus), nil, o.icon
|
||||
else
|
||||
return o.name, theme.bg_normal, nil, o.icon
|
||||
return o.name, (theme.menu_bg_normal or theme.bg_normal), nil, o.icon
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue