What is this table.insert(clientkeys, key( business? why not just use

keybinding({ modkey, "Shift"}, "m", function (c) c.minimize=true end):add()


that's probably wrong though, can someone correct this?


On Fri, Jan 23, 2009 at 4:11 PM, Alex Cornejo <[email protected]> wrote:

> I am not familiar with lua either (in fact I hate the language, if
> only awesome used python it would be sooo awesome, but I digress).
> However I believe the correct way to add the keybinding would be as
> follows: (you should add this in the correct place in your rc.lua
> file, look @/etc/xdg/awesome/rc.lua for an example)
>
> table.insert(clientkeys, key({ modkey, "Shift"}, "m", function (c)
> c.minimize=true end))
>
> To unminimize I suppose giving focus to the client (either via mod-j/k
> or clicking it on the taskbar) should be enough, however I've never
> used this so I wouldn't know for sure.
>
> PS: I suggest you take a look at the awesome README file for some hints.
>
> Cheers,
>
> Alex
>
> On Fri, Jan 23, 2009 at 3:57 PM, Evan LeCompte <[email protected]> wrote:
> > So how would i make that a keybinding?
> > is there a function i can call?
> > and how would i un-minimize it?
> > sorry im not very familiar with lua
> >
> > On Fri, Jan 23, 2009 at 3:51 AM, Julien Danjou <[email protected]>
> wrote:
> >>
> >> At 1232650360 time_t, Evan LeCompte wrote:
> >> > I had heard that the ability to minimize applications into the taskbar
> >> > was
> >> > an available feature.
> >> >
> >> > However I am unable to figure out how to do this.
> >> >
> >> > Any ideas?
> >>
> >> http://awesome.naquadah.org/apidoc/modules/capi.html#client
> >>
> >> c.minimize = true
> >>
> >> Cheers,
> >> --
> >> Julien Danjou
> >> // ᐰ <[email protected]>   http://julien.danjou.info
> >> // 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
> >>
> >> -----BEGIN PGP SIGNATURE-----
> >> Version: GnuPG v1.4.9 (GNU/Linux)
> >>
> >> iEYEARECAAYFAkl5hRYACgkQpGK1HsL+5c2H1ACgy1CYg+55OAjXac4jSBUy2AOi
> >> uEgAnROgXWSh6QXgpzKB3poLNcTEAbxR
> >> =Xgf3
> >> -----END PGP SIGNATURE-----
> >>
> >
> >
>

Reply via email to