## Messages The following are the supported message types: ``` typedef enum IPCMessageType { IPC_TYPE_RUN_COMMAND = 0, IPC_TYPE_GET_MONITORS = 1, IPC_TYPE_GET_TAGS = 2, IPC_TYPE_GET_LAYOUTS = 3, IPC_TYPE_GET_DWM_CLIENT = 4, IPC_TYPE_SUBSCRIBE = 5, IPC_TYPE_EVENT = 6 } IPCMessageType; ``` ### Brief Description of Types - `IPC_TYPE_RUN_COMMAND` is used to execute a function in dwm.c with the specified arguments. [View page](./Run-Command). - `IPC_TYPE_GET_MONITORS` is used to retrieve the properties of all your monitors including the selected client and the clients in the stack. [View page](./Get-Monitors). - `IPC_TYPE_GET_TAGS` is used to retrieve the list of tags and their bit masks [View page](./Get-Tags). - `IPC_TYPE_GET_LAYOUTS` is used to retrieve the available layouts identified by their symbols and addresses to to their structs in memory. [View more](./Get-Layouts). - `IPC_TYPE_GET_DWM_CLIENT` is used to retreive the properties of a specified client. [View page](./Get-DWM-Client). - `IPC_TYPE_SUBSCRIBE` is used to subcribe to dwm events and receive a message when the event is raised. [View page](./Subscribe). - `IPC_TYPE_EVENT` is the message type specified by event messages sent by dwm. [View page](./Events).