i3-msg
Send messages to a running instance of i3 using IPC. tldr-pages
On several platforms
Several platforms
Send messages to a running instance of i3 using IPC. See <https://i3wm.org/docs/userguide.html#list_of_commands> for available commands.
Run an i3 command
i3-msg commandIdentifyPrint a list of workspaces in JSON
i3-msg -t get_workspacesIdentifyPrint a layout tree of all open windows, containers, outputs, and workspaces in JSON
i3-msg -t get_treeIdentify