on [<modes>]window_create [<serial#>] [-|^]<match> { <action> }
This hook is triggered whenever a new window is created. This enables defaults to be given to each window.
$0 | reference number of created window |
/* doubles the status bar for each new window */ on -window_create "*" { window double on }