timbertson / shellshape

tiling window manager extension for gnome-shell
http://gfxmonk.net/shellshape/
Other
396 stars 38 forks source link

Enhancement: Docked Windows #66

Open tswsl1989 opened 12 years ago

tswsl1989 commented 12 years ago

Would it be possible to support a window docked to one side of the screen, with the master and slave areas taking up the remaining space?

Specifically, I'd like to be able to stick my pidgin buddy list to one side, with shellshape using the rest of the available space.

timbertson commented 12 years ago

It's possible, but not easily (and probably not any time soon). The way I imagine this working is toggling some sort of "pin" flag on a window (similar to the "do not tile" flag set by win+y), and from then on the active space used for laying out windows would be the largest rectangle that doesn't overlap with the window - i.e. if you had it over the left of the screen, shellshape would restrict itself to the non-overlapping rectangle on the right. If you put it in the middle, shellshape would pick the bigger side to layout its windows. Whenever you moved a "pinned" window, shellshape would re-layout all the other windows in order to not overlap its new rectangle. Does that sound like a reasonable implementation?

Not that I'm saying I'll necessarily do it, but it sounds possible (and I'm happy for others to try, obviously) ;)

tswsl1989 commented 12 years ago

Sounds very reasonable! I'm fairly sure I'm not the only person that would find this useful - I'll try and take a look myself at some point, probably in a couple of months time though :)