On 2012-07-27 wojtek danilo <[email protected]> wrote:

Hi Wojtek,

> Is it possible in awesome to darken not active windows?

I know opacity is not darkness, but the following code might help
you getting started:

client.add_signal("focus",
  function(c)
    c.border_color = beautiful.border_focus
    c.opacity = 1.0
  end)

client.add_signal("unfocus",
  function(c)
    c.border_color = beautiful.border_normal
    c.opacity = 0.8
  end)

> It really helps while working on some cntent and very clearly shows what
> window we are currently working on :)

You're totally right.


Marco



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

Reply via email to