Quoting Uli Schlachter (2013-12-03 08:54:22)
> On 02.12.2013 23:39, Stanislav Ochotnicky wrote:
> > Quoting Uli Schlachter (2013-12-02 22:57:58)
> [...]
> >> I hope this clears up the current state. Feel free to come up with 
> >> suggestions
> >> on how to improve this.
> > 
> > Thanks for quick reply. I don't think it makes sense to complicate core 
> > awesome
> > codebase by introducing custom X property. It *would* be nice if completely 
> > full
> > dynamic tagging would be easily possible but that's not really a discussion 
> > for
> > this thread :-)
> 
> I just thought about adding a "blob" property which contains just a random
> string that is completely uninterpreted by awesome, but could be accessed by
> lua. This blob would however need a better name than just "blob", of course.
> 
> This isn't much work on the C side and shifts the problem into lua-land (aka 
> "no
> longer my problem" ;-) ).
>
> 
> If it were called "blob", I would save it in "AWESOME_BLOB" and have it
> accessible as c.blob. There are some obvious problems like "who controls the
> blob" where different modules both would want to save stuff in there. If this
> should be solved, then "blob" would not only need a way better name, but would
> also need to be a table. And I would have to think about how to serialize a 
> lua
> table into an X11 property...

I am not sure about maximum size of X11 property but I can imagine few use cases
(mostly around preserving state between restarts, saving, restoring, maybe
profiles?)

For example switching from 2 screens to one and then back to 2 makes me lose
quite a lot of customization (layouts, custom tag names etc). Perhaps that's one
of the things that *could* be stored there.

Since this is mostly about various consoles, I set up custom rules for
"instance" X property. Whenever I run a terminal it gets assigned a instance
name of current tag so that I can place them automatically later (don't have
that code yet, but it should be relatively easy)

> What do you guys think?

I'd welcome uncle blob with open arms. I believe a nice Lua access API will be
needed but that's a separate point...

-- 
Stanislav Ochotnicky

PGP: 7B087241
jabber: [email protected]

--
To unsubscribe, send mail to [email protected].

Reply via email to