commands.sh

i3-msg

all

Send messages to a running instance of i3 using IPC. See <https://i3wm.org/docs/userguide.html#list_of_commands> for available commands.

More info →

Examples (3)

Run an i3 command

Print a list of workspaces in JSON

i3-msg -t get_workspaces

Print a layout tree of all open windows, containers, outputs, and workspaces in JSON

i3-msg -t get_tree
made by @shridhargupta | data from tldr-pages