Re: I need tiling of windows...



On 01/02/2010 06:52 PM, dmg wrote:
All i need is to be able to tile 2 windows. More than that, I dont'
really see how useful it would be.
I have been using my quadrants hack, and it works well, but sometimes
it would be easier to just
tile all windows at once instaed of one at a time.

I'm working on something related. I've been using a big ugly home made script that accomplished something similar to your dmg-quadrants.jl.

I have the left 1/3 (or so) of my screen divided into 3 quadrants. One of my primary uses for those particular quadrants is Pidgin chat windows. I have two problems with this. It is fairly manually, I have to choose a quadrant for each new chat. It also breaks down when I (rarely) need to have more than 3 chat windows open...

What I think I want to do is define a single vertically "tiled" quadrant instead. I figure I'd assign one binding for the quadrant. Every time a window is pushed into that quadrant it should resize any window that is already there to fit.

My ugly script already half way accomplishes this. My script lets me assign multiple quadrants to the same bind. With my current script, if a window is already in the top-corner 1/3 by 1/3 quadrant and I hit the bind for that quadrant again... It expands out to the next quadrant which is 1/3 by 1/2. The lower corner bind does the same thing in that corner.

I'm horrible at lisp. I started writing this out from scratch but I'm realizing that I would probably do better grafting this on to your dmg-quadrants.

My ugly script does one other unrelated, but interesting, thing. It sets the font size of my terminals based on quadrant. I find terminals under 80x25 and too far over 80 columns wide to be pretty useless most of the time.

I've only been thinking about this and throwing code around for the last couple of days. I figured that since I saw that you're interested in something similar that now would be a good time to throw my thoughts out here :)

Pat


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]