Current section
Files
Jump to
Current section
Files
include/i3_client_codec.hrl
-define(magic, "i3-ipc").-define(header_bytes, 14).-define(nopayload, <<"">>).-define(event_mask, 2147483647).-define(run_command, 0).-define(get_workspaces, 1).-define(subscribe, 2).-define(get_outputs, 3).-define(get_tree, 4).-define(get_marks, 5).-define(get_bar_config, 6).-define(get_version, 7).-define(get_binding_modes, 8).-define(get_config, 9).-define(send_tick, 10).-define(sync, 11).-define(get_binding_state, 12).-define(get_inputs, 100).-define(get_seats, 101).-type message_type() :: run_command | get_workspaces | subscribe | get_outputs | get_tree | get_marks | get_bar_config | get_version | get_binding_modes | get_config | send_tick | sync | get_binding_state | get_inputs | get_seats.-type reply_type() :: run_command | get_workspaces | subscribe | get_outputs | get_tree | get_marks | get_bar_config | get_version | get_binding_modes | get_config | send_tick | sync | get_binding_state | get_inputs | get_seats.-type event_type() :: workspace | output | mode | window | barconfig_update | binding | shutdown | tick | bar_state_update | input.-type message() :: {reply, reply_type(), binary()} | {event, event_type(), binary()}.