Safe Haskell | None |
---|---|
Language | Haskell2010 |
Describes the different kinds of events one can subscribe to.
Documentation
Subscribe from i3 have the following types (https:/i3wm.orgdocs/ipc.html#_events)
Workspace | Sent when the user switches to a different workspace, when a new workspace is initialized or when a workspace is removed (because the last client vanished). |
Output | Sent when RandR issues a change notification (of either screens, outputs, CRTCs or output properties). |
Mode | Sent whenever i3 changes its binding mode. |
Window | Sent when a client’s window is successfully reparented (that is when i3 has finished fitting it into a container), when a window received input focus or when certain properties of the window have changed. |
BarConfigUpdate | Sent when the hidden_state or mode field in the barconfig of any bar instance was updated and when the config is reloaded. |
Binding | Sent when a configured command binding is triggered with the keyboard or mouse |
Shutdown | Sent when the ipc shuts down because of a restart or exit by user command |
Tick | Sent when the ipc client subscribes to the tick event (with "first": true) or when any ipc client sends a SEND_TICK message (with "first": false). |