tmuxomatic-style window management for OS X
OS X window management inspired by tmuxomatic.
Beta. Requires Mjolnir and appfinder (automatic dependency via luarocks).
$ luarocks install mjolnir.7bits.mjomatic
local mjomatic = require "mjolnir.7bits.mjomatic"
mjomatic.go({
"CCCCCCCCCCCCCiiiiiiiiiii # <-- The windowgram, it defines the shapes and positions of windows",
"CCCCCCCCCCCCCiiiiiiiiiii",
"SSSSSSSSSSSSSiiiiiiiiiii",
"SSSSSSSSSSSSSYYYYYYYYYYY",
"SSSSSSSSSSSSSYYYYYYYYYYY",
"",
"C Google Chrome # <-- window C has application():title() 'Google Chrome'",
"i iTerm",
"Y YoruFukurou",
"S Sublime Text 2"})
Support overlapping windows? Right now this already works (I think):
MMMM
MxxM
MxxM
but it's not very flexible. Idea: make indented lines 'apply' to the previous line. I.e. this will give you two entirely overlapping windows of size 2*2:
MM
xx
MM
xx