title: string; // The current title of the window
path: string; // The name of the process running the window
pid: number; // The process id of the window
x: number; // The current x position of the window on the screen
y: number; // The current y position
width: number; // The current width of a window
height: number; // The current height of a window
type WindowActionBlur = 'blur'; // Window loses focus
type WindowActionClosed = 'close'; // Window is closed (can also be a tab closing, or losing focus)
type WindowActionFocused = 'focus'; // Window gains focus
type WindowActionMoved = 'move'; // Window position is moved (can also be triggered by resize)
type WindowActionOpened = 'open'; // Window is opened (can also be a new tab, or a window gaining focus)
type WindowActionResize = 'resize'; // Window size is changed
type WindowActionTitleChanged = 'titleChange'; // The title of the window has changed
| WindowActionTitleChanged;