# io.github.libtmux.CommandChain.CommandChain.arrange

- **Module:** io.github.libtmux.CommandChain.CommandChain
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/CommandChain.java#L63
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-commandchain-commandchain-arrange/

```
io.github.libtmux.CommandChain.CommandChain.arrange(layout: String) -> CommandChain
```

Arranges the current window.

## Raises

- `IllegalArgumentException` — if tmux would not recognise the layout, which on some versions ends the whole server rather than the command
