Hi,

On 25.10.2012 19:20, Manuel Kasser wrote:
> Are these titlebars wiboxes?

No. They are drawables (I'm running out of names for "things that you can draw
to"). First I refactored the current drawin-code (There are no wiboxes on the C
side in git/master, wiboxes are drawins + lots of lua code). This created a new
class "drawable". Then I made titlebars be drawables, too.

So: Titlebars aren't wiboxes, but you can put any kind of widget in them. :-)

> And, just an idea, can one dynamically
> toggle the visibility of it so that I can kind of dynamically add and
> remove them to show me properties like CPU-Usage of it's client in it if
> I need to see this 

Yes you can. Dunno if the current code makes this possible nicely, but you can
just change a titlebars' height to 0 and that is handled as "remove the
titlebar". The harder part is recalculating the titlebar height for restoring 
it.

> (despite the fact that this PID-Stuff isn't
> implemented, was just an idea coming up in my mind because I love
> awesome being hackable^^)?

The pid of a window is accessible as c.pid since ages. That is also available in
awesome 3.4 (of course only if the client sets a _NET_WM_PID property on its
window....).

Cheers,
Uli

-- 
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?" -- A. P. J.

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

Reply via email to