snippetbashTip
i3-msg — Send messages to a running instance of i3 using IPC. See <https://i3wm.org/docs/userguide.html#list_
Viewed 0 times
i3-msgsendcommandclirunningmessagesinstanceusing
Problem
How to use the
i3-msg command: Send messages to a running instance of i3 using IPC. See <https://i3wm.org/docs/userguide.html#list_of_commands> for available commands. More information: <https://manned.org/i3-msg>.Solution
i3-msg — Send messages to a running instance of i3 using IPC. See <https://i3wm.org/docs/userguide.html#list_of_commands> for available commands. More information: <https://manned.org/i3-msg>.Run an i3 command:
i3-msg {{command}}Print a list of workspaces in JSON:
i3-msg -t get_workspacesPrint a layout tree of all open windows, containers, outputs, and workspaces in JSON:
i3-msg -t get_treeCode Snippets
Run an i3 command
i3-msg {{command}}Print a list of workspaces in JSON
i3-msg -t get_workspacesPrint a layout tree of all open windows, containers, outputs, and workspaces in JSON
i3-msg -t get_treeContext
tldr-pages: common/i3-msg
Revisions (0)
No revisions yet.