ktrask <kt-...@ktrask.de> writes:

> awful.key( {}, "Menu", "a",
>                   function ()
>                        local screen = mouse.screen
>                         if tags[screen][10] then
>                             awful.tag.viewonly(tags[screen][10])
>                         end
>                   end))
>
> but it doesn't work. If I press ‘Menu’, the function is called.
> How can I use, something like that?

What you wrote is: then I press "Menu", execute "a", and when I release
it, execute my function defined above.
Executing "a" is unvalid.
And if you want to execute your function on Menu+a, that's not possible
directly because Menu is not a modifier key. It's just a key.


-- 
Julien Danjou
// ᐰ <jul...@danjou.info>   http://julien.danjou.info

Attachment: pgpZGjMSdFvvw.pgp
Description: PGP signature

Reply via email to