Improved popups
This commit is contained in:
@ -75,7 +75,7 @@ return function(s)
|
||||
bottom = beautiful.dpi(10),
|
||||
widget = wibox.container.margin
|
||||
},
|
||||
bg ="#000000CC",
|
||||
bg ="#000000FF",
|
||||
widget = wibox.container.background,
|
||||
ontop = true,
|
||||
visible = true,
|
||||
|
@ -70,12 +70,10 @@ 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",
|
||||
@ -93,7 +91,7 @@ widget.widget:connect_signal("button::press",
|
||||
elseif (button == 5) then
|
||||
volume.volume_down(config.volume.scroll_step)
|
||||
end
|
||||
awesome.emit_signal("module::volume:popup_update")
|
||||
awesome.emit_signal("module::volume:popup_show_stay")
|
||||
end
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user