]> git.sur5r.net Git - i3/i3.github.io/blobdiff - docs/ipc.html
add i3 v4.5
[i3/i3.github.io] / docs / ipc.html
index a5a58175a6984a650393c60f57567b19a2386d67..4d95ba6a5454ea1be9d44dbf7f44d026c782070c 100644 (file)
@@ -909,6 +909,14 @@ statusline
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+separator\r
+</dt>\r
+<dd>\r
+<p>\r
+        Text color to be used for the separator.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 focused_workspace_text/focused_workspace_bg\r
 </dt>\r
 <dd>\r
@@ -1087,6 +1095,15 @@ mode (2)
         Sent whenever i3 changes its binding mode.\r
 </p>\r
 </dd>\r
+<dt class="hdlist1">\r
+window (3)\r
+</dt>\r
+<dd>\r
+<p>\r
+        Sent when a client&#8217;s window is successfully reparented (that is when i3\r
+        has finished fitting it into a container).\r
+</p>\r
+</dd>\r
 </dl></div>\r
 <div class="paragraph"><p><strong>Example:</strong></p></div>\r
 <div class="listingblock">\r
@@ -1160,6 +1177,29 @@ mode is simply named default.</p></div>
 <pre><tt>{ "change": "default" }</tt></pre>\r
 </div></div>\r
 </div>\r
+<div class="sect2">\r
+<h3 id="_window_event">4.6. window event</h3>\r
+<div class="paragraph"><p>This event consists of a single serialized map containing a property\r
+<tt>change (string)</tt> which currently can indicate only that a new window\r
+has been successfully reparented (the value will be "new").</p></div>\r
+<div class="paragraph"><p>Additionally a <tt>container (object)</tt> field will be present, which consists\r
+of the window&#8217;s parent container. Be aware that the container will hold\r
+the initial name of the newly reparented window (e.g. if you run urxvt\r
+with a shell that changes the title, you will still at this point get the\r
+window title as "urxvt").</p></div>\r
+<div class="paragraph"><p><strong>Example:</strong></p></div>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>{\r
+ "change": "new",\r
+ "container": {\r
+  "id": 35569536,\r
+  "type": 2,\r
+  ...\r
+ }\r
+}</tt></pre>\r
+</div></div>\r
+</div>\r
 </div>\r
 </div>\r
 <div class="sect1">\r
@@ -1211,6 +1251,18 @@ Python
 </li>\r
 </ul></div>\r
 </dd>\r
+<dt class="hdlist1">\r
+Go\r
+</dt>\r
+<dd>\r
+<div class="ulist"><ul>\r
+<li>\r
+<p>\r
+<a href="https://github.com/proxypoke/i3ipc">https://github.com/proxypoke/i3ipc</a>\r
+</p>\r
+</li>\r
+</ul></div>\r
+</dd>\r
 </dl></div>\r
 </div>\r
 </div>\r