On 22.12.2012 17:00, Mark Wallace wrote:
> The title bar feature in awesome 3.5 is really good.
> 
> I would like to simulate stacking wm's feature, which is adding title 
> bars for floating windows, and when it turns to tile again, remove the 
> title bars.
> 
> Adding title bar support is provided by the default rc.lua, but I can't 
> find a way to remove the existing title bar.
> 
> And the instructions on the net just won't fit awesome 3.5.
> Please help.

Add a titlebar (with all the default values / values from the beautiful theme):

  awful.titlebar(c)

Hide/Remove a titlebar (aka "resizing it to height zero"):

  awful.titlebar(c, {size = 0})

Making it visible again:

  awful.titlebar(c)

(No, you don't have to set a widget again, it still remembers the last widget)

Uli
-- 
"In the beginning the Universe was created. This has made a lot of
 people very angry and has been widely regarded as a bad move."

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

Reply via email to