# config.WindowConfig

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

One window and the panes it should contain.

## 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.
