Table of Contents

Synopsis:

on [<modes>]window_create [<serial#>] [-|^]<match> { <action> }

Description:

This hook is triggered whenever a new window is created. This enables defaults to be given to each window.

Parameters:

$0 reference number of created window

Examples

 /* doubles the status bar for each new window */
 on -window_create "*" {
    window double on
 }