Show popup on hover

master
Mark 2022-11-19 10:20:15 -08:00
parent 7f9549f651
commit 37735ae085
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
2 changed files with 4 additions and 0 deletions

View File

@ -53,10 +53,12 @@ widget.widget = wibox.widget {
widget.widget:connect_signal("mouse::enter", function(result)
widget.widget.bg = beautiful.color.bar.hover_bg
awesome.emit_signal("module::backlight:popup_show_stay")
end)
widget.widget:connect_signal("mouse::leave", function(result)
widget.widget.bg = beautiful.color.transparent
awesome.emit_signal("module::backlight:popup_show")
end)
widget.widget:connect_signal("button::press",

View File

@ -70,10 +70,12 @@ widget.widget = wibox.widget {
widget.widget:connect_signal("mouse::enter", function(result)
widget.widget.bg = beautiful.color.bar.hover_bg
awesome.emit_signal("module::volume:popup_show_stay")
end)
widget.widget:connect_signal("mouse::leave", function(result)
widget.widget.bg = beautiful.color.transparent
awesome.emit_signal("module::volume:popup_show")
end)
widget.widget:connect_signal("button::press",