On Tue, Apr 12, 2011 at 12:26 AM, Anurag Priyam <[email protected]> wrote: >> But if I have a rule for, say, class = "Pidgin", I would set tag = >> tags[x][4] to send it to tag 4 on screen x. How do I get that x to be >> the screen currently in focus (the above code if moved there would >> make it follow Firefox as the client, I believe)? > > How about, x = mouse.screen, or, client.focus.screen > > I think someone had asked this question earlier too, and had reported > some kind of problem when using mouse.screen. I would expect both of > them to work, but, I don't have a dual monitor setup to test :|.
client.focus.screen just won't work as no client would be in focus at the start. My bad. And, I think using mouse.screen would cause all your apps to be on the same screen in case of a re-start or if you launch applications automatically when awesome starts. -- Anurag Priyam http://about.me/yeban/ -- To unsubscribe, send mail to [email protected].
