Hi,

"Bearcat M. Sandor" <[email protected]> writes:

> I'm a  happy Awesome user, but  i do miss my  transparent windows from
> compiz days. To that end i have the following in my luarc:
>
> awful.util.spawn_with_shell("xcompmgr -CcFf -t-5 -l-5 -r10.2 -o.55 -D3
> -I-.015 -O-.03 &")
>
> under awful.rules.rules i have:
>
>               { rule =  { class = "urxvt" }, properties  = { opacity =
>       0.8 } },
>
> What i don't understand is that  only the terminal with the background
> set to !URxvt*background:  #3B3B3B is transparent and not  the one set
> to URxvt*background: #3f3f3f
>
> Does xcompmgr only make darker colors transparent?

xcompmgr only renders a  window as translucent if _NET_WM_WINDOW_OPACITY
property is set (you can check that this property is set with xprop) and
leave it to  the window manager or any other  tool (such as transset[0])
to set this property.

I'm not sure  why using properties does  not work there. Personally I use
different opacity value according to the focus status:

client.add_signal(
    "focus",
    function(c)
       if c.class and (c.class:lower():find("rxvt") or 
c.class:lower():find("emacs")) then
          c.opacity = 1.0
       end
    end)

client.add_signal(
    "unfocus",
    function(c)
       if c.class and (c.class:lower():find("rxvt") or 
c.class:lower():find("emacs")) then
          c.opacity = 0.7
       end
    end)

> Also, is there  another compositing manager i can use  with awesome? I
> don't think  the compositing manager of  compiz can be used  by itself
> can it, and the cairo composite manager project looks dead.

As Compiz is a composite window manager, it cannot be used with Awesome.
I'm currently  developing a composite  manager (similar to  xcompmgr but
more extendable through plugins) called  unagi[1]. Version 0.2 is rather
slow but the  latest git version is supposed to  be much faster (version
0.3 should  be released very  soon). For now,  there is only  an opacity
plugin (and  an exposé plugin but  it's barely usable so  I don't advise
using it  until it is fixed  for version 0.4).  Feel free to try  it and
reports feedbacks/bugs!

Regards,
-- 
Arnaud Fontaine

[0] http://cgit.freedesktop.org/xorg/app/transset
[1] http://projects.mini-dweeb.org/projects/unagi

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

Reply via email to