docs/ipc: Clarify i3 --get-socketpath text

This commit is contained in:
Vladimir Panteleev 2021-03-17 16:21:58 +00:00 committed by Michael Stapelberg
parent 2245db63ab
commit bb6ee88440

View File

@ -14,7 +14,8 @@ most languages. In the default configuration file, the ipc-socket gets created
in +/tmp/i3-%u.XXXXXX/ipc-socket.%p+ where +%u+ is your UNIX username, +%p+ is
the PID of i3 and XXXXXX is a string of random characters from the portable
filename character set (see mkdtemp(3)). You can get the socketpath from i3 by
calling +i3 --get-socketpath+.
executing +i3 --get-socketpath+, which will print the path to the standard
output (plus a newline).
All i3 utilities, like +i3-msg+ and +i3-input+ will read the +I3_SOCKET_PATH+
X11 property, stored on the X11 root window.