It's currently not possible to choose where Openbox will write its files by specifying XDG variables.