Merge branch 'development' of https://github.com/project-repo/cagebreak into development

This commit is contained in:
project-repo 2022-12-30 21:34:53 +01:00
commit 25a14182e6

View file

@ -21,30 +21,19 @@ Events are provided as output as specified in this man page.
Events have a general structure as follows:
```
cg-ipca json object depending on the eventNULL
"cg-ipc"json object depending on the eventNULL
```
Here is an example of how this works using only as a command over the socket
```
only
cg-ipc{"event_name":"fullscreen","tile_id":"2","workspace":"1","output":"eDP-1"}cg-ipc{"event_name":"cycle_views","old_view_id":"6","new_view_id":"0","tile_id":"2","workspace":"1","output":"eDP-1"}
cg-ipc{"event_name":"fullscreen","tile_id":"2","workspace":"1","output":"eDP-1"}
```
This documentation includes the trigger for the event, the keys and the data
type of the values of each event.
TODO
*foo <arg>*
Set x of y - <[x|y|z]> are foos
between 0 and 1.
This is a full sentence.
```
# Comment
example
```
*background*
- Trigger: Setting new Background via *background* command
- JSON