As if tinkering with Emacs config wasn’t enough of a rabbit hole, now I have found XMonad.