LL      IIIII NN   NN KK  KK EEEEEEE RRRRRR  RRRRRR   OOOOO  RRRRRR 
LL       III  NNN  NN KK KK  EE      RR   RR RR   RR OO   OO RR   RR
LL       III  NN N NN KKKK   EEEEE   RRRRRR  RRRRRR  OO   OO RRRRRR 
LL       III  NN  NNN KK KK  EE      RR  RR  RR  RR  OO   OO RR  RR 
LLLLLLL IIIII NN   NN KK  KK EEEEEEE RR   RR RR   RR  OOOOO  RR   RR
                                                           ramblings
____________________________________________________________________
Posted on: Saturday, July 27th, 2013 at 18:50.
Filed under: Coding.
RSS 2.0 feed for comments.
You can skip to the end and leave a response. Pinging is currently not allowed.

Worked on a little patch for fluxbox this weekend that allows for ‘stacked’ tiling.
With stacked tiling, I mean:

  • Divide the screen in half, and fill half the screen with the focused window.
  • Use the remainder of the space for tiling the rest of the windows

So you can place the main (big) window on the top, bottom, left, or right half of the screen.
This patch introduces 4 new Tiling mechanisms in fluxbox to accomplish this: ArrangeWindowsStackLeft, ArrangeWindowsStackRight, ArrangeWindowsStackTop, ArrangeWindowsStackBottom

It is a tiny bit different than traditional ‘stacked’ tiling, since traditionally only one column is used tiling the remainder of the windows, but I think I like dividing things up in multiple columns, for now. Maybe the next version will add an option for that. (it should be trivial as the existing fluxbox tiling mechanism allows for manipulation of the number of columns and rows)

Here is an example for what you can put in ~/.fluxbox/keys to assign keybindings to this new functionality:

Ctrl Alt Left  :ArrangeWindowsStackRight
Ctrl Alt Right :ArrangeWindowsStackLeft
Ctrl Alt Up    :ArrangeWindowsStackBottom
Ctrl Alt Down  :ArrangeWindowsStackTop

This will cause the ‘main’/big window to appear on top if you press ctrl-alt-uparrow, on the bottom if you press ctrl-alt-downarrow, etc,…
Works quite well.

The patch is against the (at the time of writing) latest git.

pixelstats trackingpixel
____________________________________________________________________

2 Responses to “Fluxbox ‘stacked’ tiling”

  1. Cae says:

    Out of curiosity, any chance this patch making it into the next release of fluxbox?

    • John says:

      The patch has been accepted by the fluxbox team and has been merged into their git repo. So yes, most likely it will be in the next release.

____________________________________________________________________

Leave a Reply