Remove titlebar in some applications (awesome 3.5)

2014-10-15 Thread Zum Testen
I would like to exclude some of my applications to have a title bar. For 
example, chromium should have no title bar but all other applications should 
have one.

I found this thread: 
https://bbs.archlinux.org/viewtopic.php?id=142862
Unfortunately, the solutions seem to be a little bit outdated. I couldn't port 
them to awesome 3.5

What would be the appropriate way to remove the title bar for specific 
applications in awesome 3.5?

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


RE: Remove titlebar in some applications (awesome 3.5)

2014-10-15 Thread David Sorkovsky

I'm still on the Ubuntu Server 14.04 package version of Awesome (3.4.15),
but for what it's worth...

I used to do this (may work for you)...
cut
client.add_signal(manage, function (c, startup)
cut
if not startup then
-- Test
-- naughty.notify({ title=Signal:  .. c.name,
text=c.class .. ,  .. c.type .. ,  .. c.instance, timeout = 5 })

-- Add a titlebar
if c.name ~= mythfrontend.real and c.class ~=
Remmina then
awful.titlebar.add(c, { modkey = modkey })

end
cut

Thanks to your email I now do this...

-- Add titlebar to windows
cut
{ rule = {},
  except_any = { name = { mythfrontend.real } },
  callback = awful.titlebar.add
}
cut

-Original Message-
From: Zum Testen [mailto:zum.tes...@yahoo.de] 
Sent: Wednesday, 15 October 2014 8:15 PM
To: awesome@naquadah.org
Subject: Remove titlebar in some applications (awesome 3.5)

I would like to exclude some of my applications to have a title bar. For
example, chromium should have no title bar but all other applications should
have one.

I found this thread: 
https://bbs.archlinux.org/viewtopic.php?id=142862
Unfortunately, the solutions seem to be a little bit outdated. I couldn't
port them to awesome 3.5

What would be the appropriate way to remove the title bar for specific
applications in awesome 3.5?

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: Remove titlebar in some applications (awesome 3.5)

2014-10-15 Thread Zum Testen
In awesome 3.5 there is no awful.titlebar.add anymore. But I figured it out: 
After the lines

local titlebars_enabled = true 
if titlebars_enabled and (c.type == normal or c.type == dialog) then

I just added

if c.class == Chromium then
return
end

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: Remove titlebar in some applications (awesome 3.5)

2014-10-15 Thread Zum Testen
My solution is not good. If I want to toggle the title bar, there is no title 
bar available.

Better:


awful.titlebar(c, {size = 14}):set_widget(layout)
if c.class == Chromium then
awful.titlebar.hide(c)
end

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


[awesome bugs] #1301 - Failures with make test / do not use test target by default

2014-10-15 Thread awesome
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1301 - Failures with make test / do not use test target by default
User who did this - Daniel Hahler (blueyed)

--
Yes, this patch fixes the failures.

Thanks!
--

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=detailstask_id=1301#comment4173

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.


[awesome bugs] #1301 - Failures with make test / do not use test target by default

2014-10-15 Thread awesome
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task is now closed:

FS#1301 - Failures with make test / do not use test target by default
User who did this - Uli Schlachter (psychon)

Reason for closing: Fixed
Additional comments about closing: commit 
cf9db056f957f26b9b63c67b61568e36bbd01c66
Author: Uli Schlachter psyc...@znc.in
Date:   Wed Oct 15 23:42:24 2014 +0200

gears.color spec: Don't depend on order of pairs() (FS#1301)

The previous code assumed that pairs() iterates over the table in a specific
order which is not a safe assumption.

Signed-off-by: Uli Schlachter psyc...@znc.in


More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=detailstask_id=1301

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.