@@ -26,7 +26,7 @@ local logout_menu_widget = wibox.widget {
26
26
layout = wibox .container .margin
27
27
},
28
28
shape = function (cr , width , height )
29
- gears .shape .rounded_rect (cr , width , height , 4 )
29
+ gears .shape .rounded_rect (cr , width , height , 4 )
30
30
end ,
31
31
widget = wibox .container .background ,
32
32
}
@@ -86,12 +86,13 @@ local function worker(user_args)
86
86
margins = 8 ,
87
87
layout = wibox .container .margin
88
88
},
89
+ fg = beautiful .fg_normal ,
89
90
bg = beautiful .bg_normal ,
90
91
widget = wibox .container .background
91
92
}
92
93
93
- row :connect_signal (" mouse::enter" , function (c ) c :set_bg (beautiful .bg_focus ) end )
94
- row :connect_signal (" mouse::leave" , function (c ) c :set_bg (beautiful .bg_normal ) end )
94
+ row :connect_signal (" mouse::enter" , function (c ) c :set_bg (beautiful .bg_focus ) c : set_fg ( beautiful . fg_focus ) end )
95
+ row :connect_signal (" mouse::leave" , function (c ) c :set_bg (beautiful .bg_normal ) c : set_fg ( beautiful . fg_normal ) end )
95
96
96
97
local old_cursor , old_wibox
97
98
row :connect_signal (" mouse::enter" , function ()
@@ -108,6 +109,7 @@ local function worker(user_args)
108
109
109
110
row :buttons (awful .util .table .join (awful .button ({}, 1 , function ()
110
111
popup .visible = not popup .visible
112
+ logout_menu_widget :set_bg (' #00000000' )
111
113
item .command ()
112
114
end )))
113
115
0 commit comments