Show popup on hover
parent
7f9549f651
commit
37735ae085
|
@ -53,10 +53,12 @@ widget.widget = wibox.widget {
|
||||||
|
|
||||||
widget.widget:connect_signal("mouse::enter", function(result)
|
widget.widget:connect_signal("mouse::enter", function(result)
|
||||||
widget.widget.bg = beautiful.color.bar.hover_bg
|
widget.widget.bg = beautiful.color.bar.hover_bg
|
||||||
|
awesome.emit_signal("module::backlight:popup_show_stay")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
widget.widget:connect_signal("mouse::leave", function(result)
|
widget.widget:connect_signal("mouse::leave", function(result)
|
||||||
widget.widget.bg = beautiful.color.transparent
|
widget.widget.bg = beautiful.color.transparent
|
||||||
|
awesome.emit_signal("module::backlight:popup_show")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
widget.widget:connect_signal("button::press",
|
widget.widget:connect_signal("button::press",
|
||||||
|
|
|
@ -70,10 +70,12 @@ widget.widget = wibox.widget {
|
||||||
|
|
||||||
widget.widget:connect_signal("mouse::enter", function(result)
|
widget.widget:connect_signal("mouse::enter", function(result)
|
||||||
widget.widget.bg = beautiful.color.bar.hover_bg
|
widget.widget.bg = beautiful.color.bar.hover_bg
|
||||||
|
awesome.emit_signal("module::volume:popup_show_stay")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
widget.widget:connect_signal("mouse::leave", function(result)
|
widget.widget:connect_signal("mouse::leave", function(result)
|
||||||
widget.widget.bg = beautiful.color.transparent
|
widget.widget.bg = beautiful.color.transparent
|
||||||
|
awesome.emit_signal("module::volume:popup_show")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
widget.widget:connect_signal("button::press",
|
widget.widget:connect_signal("button::press",
|
||||||
|
|
Loading…
Reference in New Issue