Hi,

Presently, I launch an application with a key binding in my rc.lua file :

    awful.key({ modkey,           }, "*", function ()
awful.util.spawn("apwal") end),

apwal displays a set of  icons that you have only to click on to launch
its corresponding application.

I would like to launch apwal with a simple right click on the menu icon,
at the top left corner of the screen (the left click displaying still
the menu).

I did not found how the menu is launched with the left button :

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

and how to launch something else with the right button...

I only succeeded to launch apwal with the right click on the root window :

-- {{{ Mouse bindings
root.buttons(awful.util.table.join(
    awful.button({ }, 3, function () mymainmenu:toggle() end),
    awful.button({ }, 1, function () awful.util.spawn("apwal") end),
    awful.button({ }, 4, awful.tag.viewnext),
    awful.button({ }, 5, awful.tag.viewprev)



Could I get some help ?

Jean-Luc Duflot




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

Reply via email to