Re: Possibility to send app to certain tag on 'active' screen?

2011-07-26 Thread Michał Janke
2011/7/6 Michał Janke : >>> >>> So awful.rules doesn't provide what you want. >>> But don't worry, you can have a callback! >>> >>> callback = function(c) >>>   c.screen = mouse.screen >>>   c:tags({ tags[c.screen][3] }) >>> end >>> >> >> Man, this is really crazy. I have the same problem: >> Creat

Re: Possibility to send app to certain tag on 'active' screen?

2011-07-06 Thread Michał Janke
>> >> So awful.rules doesn't provide what you want. >> But don't worry, you can have a callback! >> >> callback = function(c) >>   c.screen = mouse.screen >>   c:tags({ tags[c.screen][3] }) >> end >> > > Man, this is really crazy. I have the same problem: > Create a rule that makes new windows appe

Re: Possibility to send app to certain tag on 'active' screen?

2011-07-06 Thread Michał Janke
2011/4/12 Uli Schlachter : > Am 12.04.2011 06:04, Adrian C. wrote: >> >> On Tue, 12 Apr 2011, Oon-Ee Ng wrote: >> >>> The answer I was given is that mouse.screen is fixed from the time >>> awesome is started >> >> You are doing an assignment to 'tag', rules are interpreted and the >> value is store

Re: Possibility to send app to certain tag on 'active' screen?

2011-04-12 Thread Uli Schlachter
Am 12.04.2011 06:04, Adrian C. wrote: On Tue, 12 Apr 2011, Oon-Ee Ng wrote: The answer I was given is that mouse.screen is fixed from the time awesome is started You are doing an assignment to 'tag', rules are interpreted and the value is stored. The number of the screen that was focused at t

Re: Possibility to send app to certain tag on 'active' screen?

2011-04-11 Thread Adrian C.
On Tue, 12 Apr 2011, Oon-Ee Ng wrote: > The answer I was given is that mouse.screen is fixed from the time > awesome is started You are doing an assignment to 'tag', rules are interpreted and the value is stored. The number of the screen that was focused at the time of assignment. Anyone thou

Re: Possibility to send app to certain tag on 'active' screen?

2011-04-11 Thread Oon-Ee Ng
On Tue, Apr 12, 2011 at 3:05 AM, Anurag Priyam wrote: > On Tue, Apr 12, 2011 at 12:26 AM, Anurag Priyam > 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

Re: Possibility to send app to certain tag on 'active' screen?

2011-04-11 Thread Anurag Priyam
On Tue, Apr 12, 2011 at 12:26 AM, Anurag Priyam 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 t

Re: Possibility to send app to certain tag on 'active' screen?

2011-04-11 Thread Anurag Priyam
> 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, cli

Re: Possibility to send app to certain tag on 'active' screen?

2011-04-11 Thread Oon-Ee Ng
On Mon, Apr 11, 2011 at 10:10 PM, Anurag Priyam wrote: > On Mon, Apr 11, 2011 at 5:43 PM, Oon-Ee Ng wrote: >> Hi, just wondering if the above is possible. By 'active' screen I mean >> the one with the current focus, as set my awful.screen.focus(x). > > Huh? I have only one screen, but I would def

Re: Possibility to send app to certain tag on 'active' screen?

2011-04-11 Thread Anurag Priyam
On Mon, Apr 11, 2011 at 5:43 PM, Oon-Ee Ng wrote: > Hi, just wondering if the above is possible. By 'active' screen I mean > the one with the current focus, as set my awful.screen.focus(x). Huh? I have only one screen, but I would definitely be surprised if you can't already do that. Looks like

Possibility to send app to certain tag on 'active' screen?

2011-04-11 Thread Oon-Ee Ng
Hi, just wondering if the above is possible. By 'active' screen I mean the one with the current focus, as set my awful.screen.focus(x). -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.