# config.WindowConfig

- **Module:** config
- **Package:** libtmux
- **Language:** Rust
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/tmux-workspace/src/config.rs#L67
- **Page:** https://libtmux.org/reference/rs/config-windowconfig/

## Members

- `window_name` (attribute) — The window name, or `None` to let tmux choose.
- `window_index` (attribute) — The window index to create at, or `None` for the first free one.
- `window_shell` (attribute) — A command to run instead of the window's default shell.
- `environment` (attribute) — Environment variables set for the processes this window starts.
- `layout` (attribute) — A tmux layout name or specification applied after the panes exist.
- `start_directory` (attribute) — A working directory inherited by panes that do not set their own.
- `focus` (attribute) — Whether this window should end up selected.
- `options` (attribute) — Window options to apply once the window exists.
- `shell_command_before` (attribute) — Commands run in this window's panes before their own, in order.
- `suppress_history` (attribute) — Whether this window's commands stay out of the shell's history.
- `panes` (attribute) — The panes to create, in order. The first is the window's own pane.
- `unsupported_keys` (attribute) — Keys this parser recognized on the window but does not act on.
