Sorry if Im not clear the API is new to me, when I added:
awful.util.spawn('firefox',true)
And a rule:
awful.rules.rules = {
-- Set Firefox to always map on tags number 2 of screen 1.
{ rule = { class = "Firefox" },
properties = { tag = tags[1][2] } },
}
It did start firefox on the first screen second tag which is what I wanted,
however iv added also:
awful.key({ modkey, }, "f", function () awful.util.spawn("firefox") end),
When using this key binding all firefox instances load also on the same
screen tag (instead of the current selected tag),
I guess that I can add the rule once before the first spawn takes place on
startup and remove it right after.
Ronen
On Fri, Dec 31, 2010 at 6:21 AM, Anurag Priyam <[email protected]>wrote:
> > Adding a rule locks the application to a specific tag which is not my use
> > case, Im trying to create a default set of application that startup post
> > login.
>
> What do you mean lock? AFAIK, rules are applied only when the
> application is launched. You can change any property of the client
> later that was set using rules.
>
> --
> Anurag Priyam,
> 3rd Year Undergraduate,
> Department of Mechanical Engineering,
> IIT Kharagpur.
> +91-9775550642
>