From 34bd8af634434e324514a7ee416b59c7b9974608 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 3 Oct 2012 23:59:33 +0200 Subject: [PATCH] docs/ipc: add a warning to use an existing library (Thanks slowpoke) --- docs/ipc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/ipc b/docs/ipc index 0cfb0320..6bdccd0b 100644 --- a/docs/ipc +++ b/docs/ipc @@ -19,6 +19,13 @@ calling +i3 --get-socketpath+. All i3 utilities, like +i3-msg+ and +i3-input+ will read the +I3_SOCKET_PATH+ X11 property, stored on the X11 root window. +[WARNING] +.Use an existing library! +There are existing libraries for many languages. You can have a look at +<> or search the web if your language of choice is not mentioned. +Usually, it is not necessary to implement low-level communication with i3 +directly. + == Establishing a connection To establish a connection, simply open the IPC socket. The following code @@ -667,7 +674,9 @@ mode is simply named default. { "change": "default" } --------------------------- -== See also +== See also (existing libraries) + +[[libraries]] For some languages, libraries are available (so you don’t have to implement all this on your own). This list names some (if you wrote one, please let me -- 2.39.5