From bb6ee88440e90a870b3fd1a57f18012d7a376e9c Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Wed, 17 Mar 2021 16:21:58 +0000 Subject: [PATCH] docs/ipc: Clarify i3 --get-socketpath text --- docs/ipc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/ipc b/docs/ipc index f13765fe..31fc6835 100644 --- a/docs/ipc +++ b/docs/ipc @@ -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.