Re: [dev] [dwm] How to place window automatically?

2012-12-16 Thread Martti Kühne
On Sun, Dec 16, 2012 at 8:43 PM, Hugues Moretto-Viry wrote: > 2012/12/16 Christoph Lohmann <2...@r-36.net> >> >> If you have the control over the size of the first window, then just >> calculate the fixed position of the second one and run it there. >> >> >> Sincerely, >> >> Christoph Lohmann

Re: [dev] [dwm] How to place window automatically?

2012-12-16 Thread Eric Pruitt
Hello Hugues, On Sun, Dec 16, 2012 at 08:43:34PM +0100, Hugues Moretto-Viry wrote: > I tried this with the urxvt -geometry 80x23+200+0 but it doesn't work. I'm The attached patch allow you to call functions as part of the Rules array in config.h. You could make a function to position the window w

Re: [dev] [dwm] How to place window automatically?

2012-12-16 Thread Carlos Torres
Xdotool? On Dec 16, 2012 2:44 PM, "Hugues Moretto-Viry" wrote: > 2012/12/16 Christoph Lohmann <2...@r-36.net> > >> If you have the control over the size of the first window, then just >> calculate the fixed position of the second one and run it there. >> >> >> Sincerely, >> >> Christoph Lohma

Re: [dev] [dwm] How to place window automatically?

2012-12-16 Thread Hugues Moretto-Viry
2012/12/16 Christoph Lohmann <2...@r-36.net> > If you have the control over the size of the first window, then just > calculate the fixed position of the second one and run it there. > > > Sincerely, > > Christoph Lohmann > > I tried this with the urxvt -geometry 80x23+200+0 but it doesn't wor

Re: [dev] [dwm] How to place window automatically?

2012-12-16 Thread Christoph Lohmann
Greetings. On Sun, 16 Dec 2012 20:14:52 +0100 Hugues Moretto-Viry wrote: > Hi, > > I'm launching two apps on a floating tag when dwm starts (I just need small > window). Do you know how can I place the 2nd window on the top-right corner > automatically (or somewhere else) If you have the c

[dev] [dwm] How to place window automatically?

2012-12-16 Thread Hugues Moretto-Viry
Hi, I'm launching two apps on a floating tag when dwm starts (I just need small window). Do you know how can I place the 2nd window on the top-right corner automatically (or somewhere else) Best Regards