I3-INPUT(1)
β¨ i3-input β the manual, but make it cute β¨
okay bestie, welcome to i3-input(1) from the i3 Manual π this is the page where we learn how to pop open a lil text box, type something, and yeet it straight into i3. iconic behaviour, honestly.
πΈ NAME πΈ
i3-input β interactively take a command for i3 window manager π
π¦ SYNOPSIS π¦
i3-input [-s <socket>] [-F <format>] [-l <limit>] [-P <prompt>] [-f
<font>] [-v]
like. that's the whole vibe. five lil flags and -v. we love a concise queen π
β¨ DESCRIPTION β¨
so basically, i3-input is the tool that takes commands (or parts of a command) that the user composes, and sends it/them over to i3. π«Ά
it's lowkey perfect for stuff like the mark/goto command β iykyk. you type a lil thing, i3 gets the lil thing, everybody wins. π
and listen: you can press Escape to close i3-input without sending any commands. no accidental chaos, we stan a safe exit. π§
π OPTIONS π
-s <socket>β tell it the path to the i3 IPC socket. ngl you should not need this one, becausei3-inputwill figure out the path all on its own like the independent main character it is. π-F <format>β every single occurrence of"%s"inside the<format>string gets replaced by whatever the user typed, and then the whole result gets sent to i3 as a command. the default value is"%s". β¨-l <limit>β sets the max allowed length of the user input to<limit>characters. and here's the fun part: once the user input reaches that length,i3-inputwill automatically issue the command. no enter key required, it just goes. π₯-P <prompt>β shows the<prompt>string in front of the user input text field. important detail bestie: the prompt string is not included in the user input or the command. it's purely decorative, a little garnish. π-f <font>β use the specified X11 core font. and yes, they really do suggest you usexfontselto choose a font. periodt. π¦-vβ show version and exit. short, sweet, slays. π
π EXAMPLES π
mark a container with a single character:
i3-input -F 'mark %s' -l 1 -P 'Mark: '
go to the container marked with the above example:
i3-input -F '[con_mark="%s"] focus' -l 1 -P 'Go to: '
see how the -l 1 means one character and then it immediately fires off? chef's kiss. ππ₯
π± ENVIRONMENT π±
I3SOCK
i3-input handles the different sources of socket paths in the following order, and bestie, order matters:
- the
I3SOCKenvironment variable π I3SOCKgets overwritten by the-sparameter, if specified π- if neither are available,
i3-inputreads the socket path from the X11 property, which is the recommended way β - if everything fails,
i3-inputtries/tmp/i3-ipc.sockπ
and why do we care?? because the socket path is necessary to connect to i3 and actually issue the command. no socket, no command. it's giving necessary prerequisite. π
π«Ά SEE ALSO π«Ά
π AUTHOR π
Michael Stapelberg and contributors π
okay that's the whole page, you're basically an i3-input expert now, no cap. this was i3-input(1) from i3 4.25.1, dated 01/01/1980 β mwah, go forth and mark your containers, bestie πβ¨π
π¦ where this page comes from
- fedora 43: i3 4.25.1-1.fc43 Β· BSD-3-Clause
- fedora 44: i3 4.25.1-1.fc44 Β· BSD-3-Clause
- nixpkgs unstable: i3 4.25.1
- ubuntu resolute: i3-wm 4.25.1-1 Β· BSD-3-Clause
- ubuntu stonking: i3-wm 4.25.1-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms