I tried several things to display the awesome menu only when the mouse goes above its icon (without click on it), but no one works.

I have two things working well :

1) a widget icon from where, if the mouse goes above, the apwal application is launched, which displays itself a set of application icons that I can click on to launch one of them :

wmdrawericon = widget({ type = "imagebox" })
wmdrawericon.image = image(beautiful.widget_drawer)
wmdrawericon:add_signal("mouse::enter", function ()
     awful.util.spawn("apwal")
end)

2) the standard awesome menu launcher :

mylauncher = awful.widget.launcher({ image = image(beautiful.awesome_icon),
                                     menu = mymainmenu })


So, I don't understand if the "wmdrawericon:add_signal..." function must be inserted inside the "mylauncher = awful....." function, or at contrary, if "mylauncher = awful....." must be inserted inside "wmdrawericon:add_signal...", and where exactly. In fact, how to combine both functions ?

Some help would be very appreciated.

Jean-Luc



Le 22/03/2010 18:53, Adrian C. a écrit :

On Mon, 22 Mar 2010, Duflot Jean-Luc wrote:

So I understand the awful menu can be modified to extend the main menu
(awesome, open terminal, Debian, in my original menu) to get several
lines more with an application icon inside each one.

Not just that. You can create your own independant menus and menu
launchers, ones that could consist only of icons (to imitate the
wmdrawer look and behaviour).




--
To unsubscribe, send mail to [email protected].

Reply via email to