Hi Nathan,

At 1243891357 time_t, Nathan Huesken wrote:
> So I am looking at the tile layout as reference.
> It seems, that its parameters are stored in the current tag ...
> 
> No I wonder, what would I have to do to get my parameters in.
> And I also wonder how I could remember which client belongs to which
> tile. Can I store information in clients as well?

As you can see all information are passed to layouts via on_arrange()
function in awful/layout/init.lua.

Clients and tags have properties internal to awesome core, but since
some people or libs wants to store information, we usually use a
property thingie inside awful.tag and awful.client.

You have a set of awful.tag.setproperty() or something like that, which
can be used to store more properties. This properties are automatically
collected upon objects destructution so you do not have to worry about
this.

Just store what you need and retrieve it when needed.

Cheers,
-- 
Julien Danjou
// ᐰ <jul...@danjou.info>   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// Trust me.

Attachment: signature.asc
Description: Digital signature

Reply via email to