On Thu, Feb 25, 2010 at 12:19 AM, epinull <[email protected]> wrote:
>
> On Wed, Feb 24, 2010 at 1:18 PM, Sachiel <[email protected]> wrote:
>
> > I would like to launch an application (client) without giving it the focus.
> > So, if I launch it from an focused application in full screen or maximized
> > layout, it starts on the background.
>
> Yep, use awful.rules. :)

Mmm, but awful.rules, when used with name or class as matching
property, would affect all my clients. I should use it with pid to be
more selective... but too much complex, I can live with just using
name or class :)


> Take a look at line 285 of the default rc.lua file. All you need to do
> is add a rule that will match your client and set focus to false.
> Something like:
> {rule = { name = "client name here" }, properties = { focus = false }}
>

I've discovered that changing the focus doesn't lowers or raises
windows, just changes the focus >_<. So, the client is still in front
of the others. I've been looking at
http://awesome.naquadah.org/doc/api/modules/client.html , and the
below/above propierties are not what I want, because they are
permanent (if you click a client with below = true, it doesn't raise).
I think that I should use the lower() function, but I don't know how
to call it. I've read across the reference docs and the rc.lua, but
I'm still confused.

I've tried with:
properties = { focus:lower()}
and:
callback = {lower}
and several weird combinations involving lower and focus :P, but no luck...

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

Reply via email to