i3-input - interactively take a command for i3 window manager
i3-input [-s <socket>] [-F <format>] [-l <limit>] [-P <prompt>] [-f <font>] [-v]
i3-input is a tool to take commands (or parts of a command) composed by the user, and send it/them to i3. This is useful, for example, for the mark/goto command.
You can press Escape to close i3-input without sending any commands.
Mark a container with a single character:
i3-input -F 'mark %s' -l 1 -P 'Mark: '
Go to the container marked with above example:
i3-input -F '[con_mark="%s"] focus' -l 1 -P 'Go to: '
i3-input handles the different sources of socket paths in the following order:
The socket path is necessary to connect to i3 and actually issue the command.
Michael Stapelberg and contributors