Hi,
so that's probably a new feature since I was digging in rc.lua... Cool
indeed.
You cannot bind Alt+Shift. Alt+Shift are modifiers keys, and they are
> not bindable AFAIK.
>
Well, they must be. I can bind them in awsome. This just works:
table.insert(globalkeys, key({ "Mod1" }, "Shift_L", function ()
awful.util.spawn(terminal) end))
However, this doesn't:
table.insert(globalkeys, key({ "Mod1" }, "Shift_L", function () end,
function () awful.util.spawn(terminal) end))
Maybe I'm out of date here. Since which version is key release bindable?
Regards,
David
On Tue, Feb 17, 2009 at 10:36 AM, Julien Danjou <[email protected]> wrote:
> Hi,
>
> At 1234820559 time_t, dante4d wrote:
> > is it possible to bind key release events in awesome? I'm not aware of
> that
> > at the moment.
>
> Yes, that's the 4th argument of a key(binding) object:
> key({ modkey }, "Left", keypressfunction, keyreleasefunction)
>
> > Key release is what makes Alt+Shift and Win key work
> > correctly under the M$ O$. I'd like to have bind for alt+shift and also
> > alt+shift+another_keys. I just cannot simply bind alt+shift, because that
> > gets fired everytime I want to press alt+shift+the_other_keys...
>
> You cannot bind Alt+Shift. Alt+Shift are modifiers keys, and they are
> not bindable AFAIK.
>
> Cheers,
> --
> Julien Danjou
> // ᐰ <[email protected]> http://julien.danjou.info
> // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
> // Life is life. Lalalalala.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkmahSkACgkQpGK1HsL☥ 봳佟芴或犿揼零
> /yoAoNlc7ttY4JWCwbPOAuys3nk02xtX
> =yUjE
> -----END PGP SIGNATURE-----
>
>