What about Hammerspoon?
It's the successor to Mjolnir listed on that Stackexchange post. A group of people forked it because Mjolnir was a bit fiddly since you need to use a Lua package manager to install extensions for Mjolnir. Plus, Hammerspoon is pretty actively developed while I don't think Mjolnir has had an update in a very long time.
I used xmonad a lot when I was using linux but haven't tried it out on OS X. I'll give this a try.