[−][src]Module penrose::hooks
Hook for adding additional functionality around standard WindowManager actions
Type Definitions
FocusHook | Called after a new Client gains focus. Argument is the focused Client ID which can be used to fetch the internal Client state if needed. |
LayoutHook | Called before a Layout is applied to the active Workspace. Arguments are indices into the WindowManager workspace and screen arrays (internal data structures that support indexing) which can be used to fetch references to the active Workspace and Screen. |
NewClientHook | Called when a new Client has been created and penrose state has been initialised but before the client has been added to the active Workspace and before any Layouts have been applied. Argument is the newly created Client which can be modified if desired. |
ScreenChangeHook | Called after focus moves to a new Screen. Argument is a index into the WindowManager screen array (internal data structure that supports indexing) for the new Screen. |
ScreenIndex | |
WorkspaceChangeHook | Called after the active Workspace is changed on a Screen. Arguments are indices into the WindowManager workspace array (internal data structure that supports indexing) for the previous and new workspace. |
WorkspaceIndex |