3 Michael Stapelberg <michael+i3@stapelberg.de>
8 i3-msg - send messages to i3 window manager
12 i3-msg [-t type] [message]
17 The payload of the message is a command for i3 (like the commands you can bind
18 to keys in the configuration file) and will be executed directly after
22 Gets the current workspaces. The reply will be a JSON-encoded list of
26 Gets the current outputs. The reply will be a JSON-encoded list of outputs (see
30 Gets the layout tree. i3 uses a tree as data structure which includes every
31 container. The reply will be the JSON-encoded tree.
34 Gets a list of marks (identifiers for containers to easily jump to them later).
35 The reply will be a JSON-encoded list of window marks.
38 Gets the configuration (as JSON map) of the workspace bar with the given ID. If
39 no ID is provided, an array with all configured bar IDs is returned instead.
44 i3-msg is a sample implementation for a client using the unix socket IPC
49 ------------------------------------------------
50 # Use 1-px border for current client
51 i3-msg "border 1pixel"
53 # You can leave out the quotes
56 # Dump the layout tree
58 ------------------------------------------------
64 If no ipc-socket is specified on the commandline, this variable is used
65 to determine the path, at wich the unix domain socket is expected, on which
74 Michael Stapelberg and contributors