Since my first contact with WNCK library, I’ve been willing to put together a proper solution for all my window tiling needs. After a bit of research I put together bunch of cool pieces of software and glue them together with python.
The result: a tinny application – less than 200 LoC so far – that runs on the background and listens to some defined keyboard shortcuts. Once such a keybind is pressed, it performs some user defined tilling operations.
This is still extremely experimental, yet usable. I tested it on gnome and fluxbox, appears to be working on both without any major problem. The project is hosted at bitbucket, you can download the latest usable release here.
Run azulejo.py, it will bind the following keyboard shortcuts globally:
Super+2 – Tile last two windows side by side
Super+3 – Tile last three windows
Super+4 - two by two window tile
Super+h – move current window to the left half of the screen
Super+k - move current window to the right half of the screen
Please note, due to a bug, you might need to run azulejo.py twice the first time you use it.