3 Michael Stapelberg <michael@i3wm.org>
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.
42 Gets the version of i3. The reply will be a JSON-encoded dictionary with the
43 major, minor, patch and human-readable version.
47 i3-msg is a sample implementation for a client using the unix socket IPC
52 ------------------------------------------------
53 # Use 1-px border for current client
54 i3-msg "border 1pixel"
56 # You can leave out the quotes
59 # Dump the layout tree
61 ------------------------------------------------
67 If no ipc-socket is specified on the commandline, this variable is used
68 to determine the path, at wich the unix domain socket is expected, on which
77 Michael Stapelberg and contributors