From 8ff60f034f23b1bbadb0ef1544161570593a55dc Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 5 Jun 2016 11:08:43 -0400 Subject: [PATCH] Try menu_* colors before regular normal/focus (#949) --- lib/menubar/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/menubar/init.lua b/lib/menubar/init.lua index 4c471f741..db5eb8ef5 100644 --- a/lib/menubar/init.lua +++ b/lib/menubar/init.lua @@ -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