Script for Window tiling in openbox

view story

I wanted to use a tiling window manager but didn't want to leave openbox. So I started using PyTyle and PyTyle2 but they both took up more RAM than I could afford to let them use in my lowly desktop. So I wrote a script to do my tiling for me using wmctrl and xwininfo. And here are the results:GRID mode:BOTTOM MASTER mode:TOP MASTER mode: LEFT MASTER mode (also the default) :RIGHT MASTER mode:MAX mode:HORIZONTAL SPLIT mode:VERTICAL SPLIT  mode :The entire thing is just one bash script that I named wmtiler.shThe script itself is rather poorly written as I don't have much experien ()