You might want to try:
clientkeys = awful.util.table.join(
awful.key({ modkey, }, "F2", function (c) c:kill() emd),
On 24/07/10 at 02:56pm, Tim Johnson wrote:
> * Adrian C. <[email protected]> [100724 14:37]:
> > On Sat, 24 Jul 2010, Tim Johnson wrote:
> >
> > > As an example, in my local rc.lua, I added to the following code:
> > > awful.key({ modkey }, "F2", function (c) c:kill() end) It passes the
> > > syntax check, but the binding is not committed. (I presume not added
> > > to globalkeys)
> >
> > It's a matter of context. What are you doing? Manipulating a client, so
> > it should go to the clientkeys.
> You're correct.
> I used this code:
> clientkeys = awful.util.table.join(
> clientkeys, awful.key({ modkey }, "F2", function (c) c:kill() end))
>
> Passes syntax but still has no effect. Do I have to remove the
> original bind? If so how?
>
> What is the correct code?
>
> thanks
> --
> Tim
> tim at johnsons-web.com or akwebsoft.com
> http://www.akwebsoft.com
>
> --
> To unsubscribe, send mail to [email protected].
--
--
To unsubscribe, send mail to [email protected].